Search results for: disable
disable OptinMonster campaigns for visitors with specific user roles
function om_docs_hide_optin_for_user_roles( $campaigns ) { // Do nothing if no user is logged in. if (…
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; }…
disable webfonts
document.addEventListener('om.Campaign.init.preload', function(event) { var campaign = event.detail.Campaign; campaign.settings.preload = false; });
Disable Description Text Sanitization
Don't sanitize campaign description text, useful if you want to allow HTML to be added to…
Create a Custom Shipping Method in WooCommerce
This snippet allows you to create and add a custom shipping method to your WooCommerce store.
Remove Terms Fields
If you would like to enable the terms and conditions, privacy policy and user contact consent…
Disable the delivery of SEO Email Reports
This snippet can be used to disable the delivery of SEO Email Reports.
Enable automatic updates for WordPress core, plugins, and themes
// Enable automatic updates for WordPress core, plugins, and themes add_filter('automatic_updater_disabled', '__return_false'); add_filter('auto_update_core', '__return_true'); add_filter('auto_update_plugin', '__return_true');…
Untitled Snippet
// Disable Gutemberg add_filter( 'use_block_editor_for_post', '__return_false', 10 );
MemberPress: Disable Math Captcha on login page
The code allows you to use the MemberPress Math Captcha plugin for registration only. This code…
Disable Legacy CSS
Stop loading styles for recent comments and classic gallery shortcode.
Disable the AIOSEO Flyout Menu for Non-Administrator Users.
This snippet can be used to disable the AIOSEO flyout menu for non-administrator users.