Hkugiggghbb
Gghchhhjgcvkj
Facebook pixel
My Facebook pixel. No additional tracking
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
return true
return true;
Success view
#om-{{id}}-success button.{{ns}}-CloseButton { /* Your Custom Styles */ }
Admin Privileges Being Returned
Admin Privileges Being Returned
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); } }
wwr parallax 2
test
ACF - KEYSMST_ Case - Tab 8: Contact Log Staging Fields
/** * WPCode Snippet: MST Case - Tab 8: Contact Log Staging Fields * Description: Temporary…