Activer automatiquement les extensions de formulaire
add_action('init', function () { $extensions = [ 'fluent-crm/fluent-crm.php', 'wp-html-mail/wp-html-mail.php', 'wpforms-lite/wpforms.php', // si installé 'surecart/surecart.php', // pour…
om.Campaign.startShow
document.addEventListener('om.Campaign.startShow', function(event) { console.log(event.detail.Campaign); } );
Remove comments article only
Remove comments article only
om.Campaign.load , capture query args
document.addEventListener('om.Campaign.load', function(event) { const queryString = window.location.search; // capture all query args // Registers a custom…
Slide Reposition Top Right
html div#om-{{id}} { top: 0px !important; bottom: unset !important; transition: top 0.3s ease 0s !important; }
floating-monsterlink-1.css
/* --- Floating MonsterLink Style 1 CSS --- ------------------------------------------ */ .floating-monsterlink.style1.show { right: 30px; } .floating-monsterlink.style1…
om-wp-plugin-load-in-head.php
// returning false will change the default location from footer to the head add_filter( 'optin_monster_api_loading_location', '__return_false'…
Convert headings to sentence case
If you like your headings in sentence case this works. No changes WP Database: if snippet…
Disable & Remove Login with GD button
Remove Login with GD
Mapping WPForms Checkbox Values to ACF Checkbox Fields
This snippet uses the wpforms_post_submissions_process action hook to dynamically map WPForms checkbox submissions to ACF checkbox…
Studex CM Main Menu
function homelink(){ $homelink = 'Home'; return $homelink;} function shoplink() { return 'Shop';} function discoverlink() { $discoverlink…