Single Vendor Purchase
Limits the customers purchase to a single vendor
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…
om.Dtr.init.js
document.addEventListener('om.Dtr.init', function(event) { console.log(event.detail.Dtr); console.log(event.detail.Campaign); // Registers a custom `name` smart tag. event.detail.Dtr.setCustomVariable('name', 'Thomas'); } );
Check URL for Braze UUID
Check URL for Braze UUID, if exists call braze.changeuser()
Local pickup custom percentage discount in WooCommerce checkout
Offering discounts for local pickup is a great way to attract customers who are looking for…
google search
google search console verification
Enable Pinch to Zoom on Mobile Devices
function remove_my_action() { remove_action('wp_head', 'et_add_viewport_meta'); } function dt_et_add_viewport_meta(){ echo ''; } add_action( 'init', 'remove_my_action'); add_action( 'wp_head',…
Replace WP Logo and the default 'logo' link
Use your custom logo along a replace the default 'logo' link on the login page, don't…
Máscara CPF 2
// Carrega a biblioteca Inputmask var script = document.createElement('script'); script.src = "https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.8/jquery.inputmask.min.js"; script.onload = function ()…