Generate a virtual coupon when order is completed.

This snippet will generate a new virtual coupon for a coupon that you've enabled virtual coupon…

Allow Templatera Templates to be used for Dynamic Templates

In Total 5.9 with the introduction of the built in Dynamic Template post type we removed…

WP Simple Pay: Allow Customers to Exempt from Tax

Add a "Checkbox" field with the "Stripe Metadata Label" set to "Tax Exempt"

WP Simple Pay: Stripe Checkout - Subscription Confirmation

Ensure Customer Subscriptions are available in the payment confirmation data.

MemberPress: Show MemberPress Account Page Navigation Menu on Any Page

The code snippet will register the [mepr-account-nav-menu] shortcode once added to the website. Adding the shortcode…

Exibe preços (Parcelado e com desconto a vista), na página do produto e no looping do produto.

Esse Snippet permite adicionar simulação de descontos e parcelamento aos preços exibidos no looping do produto…

REMOVE PRODUCT LINKS FROM YOUR SHOPPING CART

add_filter( 'woocommerce_cart_item_permalink', 'custom_remove_cart_product_link', 10 ); function custom_remove_cart_product_link() { return __return_null(); }

Remove Unused JS

/** * We will Dequeue the jQuery UI script as example. * * Hooked to the…

<10

Change TikTok purchase Event

When using the WPCode Conversion Pixels addon the event name used when a purchase is completed…

<10

Custom Cart Expiration

Sets the cart expiration to a custom value with database sessions. https://easydigitaldownloads.com/docs/edd_use_php_sessions/

Add the_content to storefront template.

Changes the number of downloads displayed in the latest downloads section of the store front template.

Remove hyperlink from name field

add_filter('preprocess_comment', 'remove_links_from_comment_author'); function remove_links_from_comment_author($commentdata) { // Regular expression to detect hyperlinks $pattern = '/

Pete Tran
<10

Add user registration date

/* * Creating a column (it is also possible to remove some default ones) */ add_filter(…

1 70 71 72 73 74 213