WWPP - Hide Tax label on Cart/Checkout for wholesale customers

add_filter( 'woocommerce_countries_tax_or_vat', function( $label ) { if ( ! ( is_cart() || is_checkout() ) ) {…

SandboxCodeX

SandboxCodeX ide build

Add Tax ID to Shipping Label

/** * Add the Tax ID Field to the settings page * * In this example…

3 Dots for popup text in WordPress

With this snippet 3 highlighted dots appear when you create small items of text that you…

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…

Post term count

add_shortcode( 'term_count', function( $atts ) { $atts = shortcode_atts( array( 'taxonomy' => '', 'hide_empty' => 'false',…

<10

Card Layout for Speaker Pages

Replaces the default speaker page with a card design: a hero image, the role, contact links…

test

echo 'test';

Restrict WP Heartbeat

Disable Heartbeat on the frontend unless a user is editing a post and throttle at maximum…

Change the action's string in the refund section - "View Details"

Change the action's string in the refund section - "View Details"

Debug File Loading

Check whether file is loading. Require debug mode enabled to print out on the debug log.

Untitled Snippet

HTML5

Marketing Manager
<10
1 … 126 127 128 129 130 … 244