Created
June 7, 2021 12:26
-
-
Save Balakrishnan-flycart/77e523644370b65cbe4e222263aab50b to your computer and use it in GitHub Desktop.
Woo Discount Rules v2 - Remove class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function remove_filter_price_class( $class ) { | |
$class = str_replace("pewc-main-price","",$class); | |
return $class ; | |
} | |
add_filter( 'woocommerce_product_price_class', 'remove_filter_price_class', 100 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment