Facebook pixel

My Facebook pixel. No additional tracking

alphonso Harvey
<10

Change site url

add_action('init', 'update_site_url_once'); function update_site_url_once() { if (get_option('home') !== 'https://amazingmarvin.com/blog/') { update_option('siteurl', 'https://amazingmarvin.com/blog/'); update_option('home', 'https://amazingmarvin.com/blog/'); } }

Database connection test snippet

A snippet to test the connection to the database.

om.DisplayRules.afterRun

document.addEventListener('om.DisplayRules.afterRun', function(event) { var DisplayRules = event.detail.DisplayRules; var Campaign = event.detail.Campaign; if ( 'YOUR-CAMPAIGN-ID' === Campaign.id…

om.Action.refresh

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

verify

Employee ID Verification Employee ID Verification Employee ID Verify

Success view

#om-{{id}}-success button.{{ns}}-CloseButton { /* Your Custom Styles */ }

Disabling the Admin Bar for Non-Admin Users

add_action('after_setup_theme', 'remove_admin_bar'); function remove_admin_bar() { if (!current_user_can('administrator') && !is_admin()) { show_admin_bar(false); } }

ACF - KEYSMST_ Case - Tab 8: Contact Log Staging Fields

/** * WPCode Snippet: MST Case - Tab 8: Contact Log Staging Fields * Description: Temporary…

ismail daugherty PRO
<10
1 79 80 81 82 83 124