Local pickup custom percentage discount in WooCommerce checkout

Offering discounts for local pickup is a great way to attract customers who are looking for…

Allow SVG uploads for administrator users.

Allow SVG uploads for administrator users.

Buy with Prime

add_action( ‘woocommerce_after_add_to_cart_form’, ‘QL_add_text_under_add_to_cart’ ); function QL_add_text_under_add_to_cart () { global $product; ?>

FlowMattic: Expand Workflow Description Box.

This snippet runs in the WordPress admin area and removes any line-clamping on the “.css-iIDhdyB” element…

<10

MemberPress: Disable MemberPress Protection On Posts with Specific Tags

This code snippet disables content protection for posts that are tagged with a specific term (e.g.,…

use login

this is a login of user

Disable XML-RPC (copy)

On sites running WordPress 3.5+, disable XML-RPC completely.

MemberPress: Restrict Purchase of a Specific Membership Based on Existing Subscriptions

This code snippet restricts the purchase of a specified MemberPress membership (restricted membership), based on a…

om.Tags.init

document.addEventListener('om.Tags.init', function(event) { console.log(event.detail.Campaign); } );

om.Actions.init

document.addEventListener('om.Actions.init', function(event) { console.log(event.detail.Actions); // An array of the Action objects console.log(event.detail.Actions.actions); console.log(event.detail.Campaign); } );

om.Optin.success example 2

document.addEventListener('om.Optin.success', function(event) { if( '{{id}}' !== event.detail.Campaign.id ) return; let url = 'https://www.google.com/'; // Update with…

1 95 96 97 98 99 212