Customize Store Credit Accordion on Checkout Page
This snippet allows you to customize Store Credit Accordion on the Checkout Page
MemberPress: Update Account Course Tab Link With User-Role-Based Custom URLs
This code snippet replaces the default URL of the "Courses" tab link in the navigation menu…
MemberPress: Disable MemberPress Protection On Specific Page
This snippet allows disabling the MemberPress protection (unprotect) on a specific page. The code snippets overrides…
MemberPress: Auto Approve Sub-Accounts with New User Approve Plugin
This code snippet can be used if the New User Approve plugin is set on the…
Quiz About Getting Old
10 question multiple choice quiz about getting old
ACF JSON Menu Import
if( function_exists('acf_add_options_page') ) { acf_add_options_page(); } // // 1. Register ACF Field for Menu JSON add_action('acf/init',…
Wordpress Debugging
define( 'WP_DEBUG', true ); define( 'SAVEQUERIES', true );
Year footer update
Update copyright year automatically in footer
RADIO HTML bielo
NOVITÀ! È aperto il polo di Radiologia
om.Campaign.init remove video
document.addEventListener('om.Campaign.init', function(event) { // Add your own logic here to check if a video is playing…
om.Campaign.load
document.addEventListener('om.Campaign.load', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );
om.Analytics.track example 2
document.addEventListener('om.Analytics.track', function(event) { if ( 'conversion' === event.detail.Analytics.type ) { dataLayer.push({ 'event': 'gaTriggerEvent', // Follow Custom…
Slide Reposition Bottom Left
html div#om-{{id}} { right: auto !important; margin-left: 20px !important; }
om external links monsterlink uniqe id
(function(window, document) { // Your campaign's UNIQUE ID var campaignSlug = 'pcoamlfqsv7jeervep0b'; // ... the rest…
allow authors
add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'publish_posts'; } );