Add menu item to vendor dashboard

// Add this to your themes functions.php function add_menu_item( $pages ){ $pages[] = array( 'label' =>…

wpadmin add phone number with address in orders page

add_action( 'manage_shop_order_posts_custom_column' , 'custom_orders_list_column_content', 50, 2 ); function custom_orders_list_column_content( $column, $post_id ) { global $the_order, $post;…

Remove Location Taxonomy

// Add custom Bulk Action to the Pages view function custom_add_bulk_action() { global $post_type; if ($post_type…

Combined Date – Time Format (Sample: am / pm) | Display Eventbrite Events

The combined date / time format appears in several layouts and typically looks like 12/02/2019, 10:00…

Hide the Email Test Menu Item in Settings

This snippet will hide the 'Email Test' tab from your WP Mail SMTP settings menu.

Dynamic Monsterlinks By Class Name

// Target by class name window.onload = function(){ const dynamicMonsterLinks = document.querySelectorAll("a.myClass"); dynamicMonsterLinks.forEach(dynamicMonsterLinks => dynamicMonsterLinks.href =…

om.Campaign.init.preload

document.addEventListener('om.Campaign.init.preload', function(event) { var campaign = event.detail.Campaign; campaign.settings.preload = false; });

WSG GTM Body Tag

Add GTM Tag to Site Body in WSG Site Group

Colin Bunn PRO
<10

MFP > Deploy Show & Get Data

add_action('acf/save_post', 'add_show_children'); function add_show_children($post_id) { if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return $post_id; if (!wp_is_post_revision($post_id) && 'show' ==…

DJ ANIMATIONS MUSICALES

Animation musicales des soirées privées et publiques

Awni Attia
<10

Remove All Campaigns From a Specific URL

document.addEventListener('om.Campaign.startShow', function(event) { if(window.location.href == 'https://example.com/specific-page') { // replace with your specific URL var optinCampaign =…

om.Campaign.init

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

1 78 79 80 81 82 126