Set a Custom Email Header (copy)
This snippet sets custom email headers to ensure you can control specific behaviors of your sent…
WWPP & Elementor - Show correct wholesale prices in the Elementor side cart
/** * WWPP & Elementor: show correct wholesale prices in Elementor side cart. */ add_filter( 'woocommerce_cart_item_price',…
Add Tax ID to Shipping Label
/** * Add the Tax ID Field to the settings page * * In this example…
Including product tax to commission calculation
add_filter( 'wcvendors_commission_rate', 'wcv_calculate_commission_include_product_tax', 10, 5 ); function wcv_calculate_commission_include_product_tax( $commission, $product_id, $product_price, $order, $qty ) { $product…
Hide SALE! Badges
/*Hide WooCommerce SALES Badges*/ .woocommerce span.onsale { display: none; } /*Hide SALES Badges in home page…
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…
Tweak Price Display (Adjusts the Prices) | Display Eventbrite Events
The Display Eventbrite plugin premium version can display prices. If you want to tweak to display…
Use the Variation Name instead of Slug within the Product Name detail of Product exports
function custom_woo_ce_get_product_title_attribute_formatting( $format = 'slug', $post_id ) { // Set the format to Attribute Title $format…
unitap.io
function myfirsttheme_setup() { /* * Load additional block styles. */ $styled_blocks = ['latest-comments']; foreach ( $styled_blocks…
Disable WP Error Log and PHP Error
Turning off PHP Errors in WordPress
Hide the Email Test Menu Item in Settings
This snippet will hide the 'Email Test' tab from your WP Mail SMTP settings menu.
[wpb-random-posts]
WHAT THEY SAID TO DO