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(…
Extra WordPress Filters in Pro (Change the symbol for a currency. Evenbrite currencies are ISO e.g. USD) | Display Eventbrite Events
Using this filter, you can change the symbol for a currency. Evenbrite currencies are ISO e.g.…
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…
G-T2XZDKK0J5
Disable WordPress Admin Bar for all users
Disable WordPress Admin Bar for all users
om-nextjs14.js
'use client'; import { usePathname } from 'next/navigation'; import { useEffect, useState } from 'react'; export…
om-change-view.js
// Show the Yes/No view om{{id}}.changeView('yesno'); // Show the Optin view om{{id}}.changeView('optin'); // Show the Success…
And the Javascript to turn your HTML link into a MonsterLink v2
jQuery(document).ready(function($) { $('a[class*="campaign"]').addClass("manual-optin-trigger"); $('a[class*="campaign"]').attr("data-optin-slug", "pm6fnflhiocj7cge"); });
om-available.js
document.addEventListener('om.Campaign.load', function(event) { console.log(event.detail); } );
Untitled Snippet
document.addEventListener('om.Campaign.load', function(event) { console.log(event.detail); } );
Enhanced Force Author Plugin
Forces a specific user to be the author of all posts and pages while maintaining the…