Format USD Currency

Displays $ as USD This will make $10 be displayed as 10 USD To set this…

Limit Cart to One Item

Prevents customers from ever purchasing more than a single item at once

WooCommerce Wholesale Lead Capture Re-send Email Button in User Profile

This snippet will add a resend email button under User profile.

Allow SVG Files Upload

/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types.…

<10

WP Simple Pay: BuddyBoss Preview Compatibility

Provides BuddyBoss preview function compatibility

WP Simple Pay: Disable Webhook Failed Notification

Disable alert bubbles when webhook events are not received.

Explicit Fixed Width and Height

add_filter( 'the_content', 'add_image_dimensions' ); function add_image_dimensions( $content ) { preg_match_all( '/]+>/i', $content, $images); if (count($images) <…

<10

Disable recurring renewal notices for specific download

Allows renewal notice emails to be disabled for subscriptions including a certain download.

Activer automatiquement les extensions professionnelles

add_action('init', function () { $extensions = [ 'wp-user-manager/wp-user-manager.php', 'wp-job-portal/wp-job-portal.php', 'wp-html-mail/wp-html-mail.php', // si utilisé pour les emails…

om.Html.append.before

document.addEventListener('om.Html.append.before', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );

om.Optin.init.submit

document.addEventListener('om.Optin.init.submit', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…

Property Analyzer Demo

// Add Property Analyzer Demo to WordPress function addPropertyAnalyzerDemo() { // Only add on homepage or…

disable webfonts for a spesific campaign

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

1 44 45 46 47 48 124