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

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,…

1 … 107 108 109 110 111 … 244