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…
test
echo 'test';
Change the action's string in the refund section - "View Details"
Change the action's string in the refund section - "View Details"
Untitled Snippet
HTML5
Remove title on all pages for Hello Theme
By default Hello theme displays page title at the top of every page. While you can…
remove auto linkig
remove_filter( 'comment_text', 'make_clickable', 9 );
Extra WordPress Filters in Pro (Do something with the age restriction display) | Display Eventbrite Events
Using this filter you can change the age restriction display. e.g. all_ages by default displays nothing,…
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