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;
});

 

Leave a Reply

Your email address will not be published. Required fields are marked *