Custom Countries

Illustrates how to add a custom list of countries

<10

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…

Disable PayPal for Multi-Item Checkout

Disables the PayPal gateway when the cart contains multiple items. PayPal disabled the ability to purchase…

How to change the store address country for all vendors

/** * Set the vendor's store country to us. */ function wcv_set_vendor_country() { if ( function_exists(…

Disable Gutenberg Editor (use Classic Editor)

Switch back to the Classic Editor by disablling the Block Editor.

Defining Email Log Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

Google

G-T2XZDKK0J5

Paul Discher
<10

Dynamic Monsterlinks by Id

// Target by ID window.onload = function(){ document.getElementById("someID").href="MONSTERLINK_URL"; }

om.Campaign.init.preload2

document.addEventListener('om.Campaign.init.preload', function(event) { var campaign = event.detail.Campaign; if ({slug} === campaign.id) { campaign.settings.preload = false; }…

1 79 80 81 82 83 124