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…
Disable WordPress Admin Bar for all users
Disable WordPress Admin Bar for all users
Dynamic Monsterlinks by Id
// Target by ID window.onload = function(){ document.getElementById("someID").href="MONSTERLINK_URL"; }
om.Campaign.init.preload2
document.addEventListener('om.Campaign.init.preload', function(event) { var campaign = event.detail.Campaign; if ({slug} === campaign.id) { campaign.settings.preload = false; }…
WSG Group GTM Head Tag
Add GTM Tag to Site Header on WSG Site Group
Add column Product type in WooCommerce
Add a column in the product list to differentiate the type of product
Accuracy Gauge
Accuracy gauge 1%
woo orders page courier address
// Add the new column to the orders page add_filter('manage_edit-shop_order_columns', 'display_courier_address_column'); // Display data in the…
DJ ANIMATIONS MUSICALES
Animation musicales des soirées privées et publiques
Remove Specific Campaign 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 remove video
document.addEventListener('om.Campaign.init', function(event) { // Add your own logic here to check if a video is playing…