Add extra shipping providers for vendor tracking numbers

$shipping_providers = array( 'Australia' => array( 'Australia Post' => 'https://auspost.com.au/mypost/track/#/details/%1$s', 'FedEx' => 'https://www.fedex.com/apps/fedextrack/?tracknumbers=%1$s&cntry_code=au', 'Fastway Couriers' =>…

WP Simple Pay: Conditionally Dequeue Scripts & Styles

Conditionally dequeue scripts & styles based on set conditions. In this example, we remove all plugin…

Change Admin Panel Footer Text

Display custom text in the admin panel footer with this snippet.

Note Orders

add_filter( 'manage_edit-shop_order_columns', 'custom_shop_order_column', 90 ); function custom_shop_order_column( $columns ) { $ordered_columns = array(); foreach( $columns as…

Number slider validation for single page forms

This snippet uses the wpforms_process_validate_number-slider action to check the slider value after submission.

<10

Convert Uploaded Images to WebP Format Automatically

Automatically convert uploaded images to WebP format.

Allow Other WordPress Roles to Manage Email Logs

This snippet will allow you to manage the capabilities of roles allowed to manage the site's…

om-nextjs.js

import { useEffect } from 'react'; import { useRouter } from 'next/router'; const OptinMonsterEmbed = ()…

Add Informational Message Below the Username Field in the Login/Register Form #The Greek

This code adds an informational message below the username input field in the login or registration…

Disable default WordPress image sizes

// Disable default WordPress image sizes add_filter('intermediate_image_sizes', '__return_empty_array'); // Disable large scaled image size add_filter('big_image_size_threshold', '__return_false');…

Display the stock availability for all product types in WooCommerce archive pages

Learn how to add Availability label ? in your WooCommerce website. This will help to notify…

1 49 50 51 52 53 224