User Switching

Easily switch to a Customer when using the User Switching plugin

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

WP Simple Pay: Custom Smart Tag

Register a custom Smart Tag with PHP, and control the output.

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

Add Password Hint

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

WP Simple Pay: Programmatically Set Custom Field Default Value

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

increase max file size

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

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…

aa

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

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…

1 29 30 31 32 33 126