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…

Dynamic Current Year

The shortcode prints out dynamic current year wherever used [current_year] in the frontend layout, e.g. 2020…

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

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

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…

<10

wordpress

Doylton Davis
<10

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

1 123 124 125 126 127 231