Auto register guests that purchase

function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…

Carla Mawyin
<10

Modify LLMS Title for a Specific Post

This snippet modifies the title shown in llms.txt and llms-full.txt for a specific post ID.

<10

Hide Specific Day From Opening Hours Output

This filter can be used to hide a specific day from Opening Hours output Replace 'Sunday'…

<10

WP Simple Pay: Programmatically Set Custom Field Default Value

Use metadata as the default value for a payment form's custom field.

Add Password Hint

Add standard WP password hint to checkout right below account creation fields.

Set a minimum, and maximum price for products

Set a minimum, and maximum price for products

Disable The WP Admin Bar

Hide the WordPress Admin Bar for all users in the frontend.

Delete Woocommerce images after deleting product

Automatically Delete WooCommerce Images After Deleting a Product. If you use the same image of multiple…

increase max file size

a snippet to increase max file size to allow WP staging pro upload

Change a license activation limit prgramatically.

This snippet is an example of changing the activation limit on a license key based on…

to add WordPress WooCommerce WhatsApp checkout

Post Intro This code snippet implements functionality similar to a WooCommerce code snippet that would enable…

aa

add_action('admin_notices', function () { if (!current_user_can('manage_options')) { return; } echo 'WPCode test is working.'; echo 'Application…

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' =>…

1 29 30 31 32 33 126