Last active
October 4, 2018 07:38
-
-
Save AshlinRejo/7f57522e0bfea5f9ff03a5a56e5b78ce to your computer and use it in GitHub Desktop.
Woo Discout Rules: Change style for the zero value coupon
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
if(!function_exists('woo_discount_rules_apply_style_for_zero_price_coupon_method')){ | |
function woo_discount_rules_apply_style_for_zero_price_coupon_method($style, $coupon){ | |
//Return the css as required based on $coupon | |
} | |
} | |
add_filter('woo_discount_rules_apply_style_for_zero_price_coupon', 'woo_discount_rules_apply_style_for_zero_price_coupon_method', 10, 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment