commissions showing in emails (fix)

Please add the given code in your wplms-customizer.php file in wplms customizer plugin :

add_filter('woocommerce_order_items_meta_display',function($output){
$output=preg_replace("/(.*)(commission[0-9]+\:\s?[0-9]+\.?[0-9]{0,9})(.*)/", " ", $output);
return  $output;
});

 

Was this article helpful?

Related Articles

2 Comments

Leave a Reply to Mr.Vibe Cancel Reply