Code not Working wit Snippets
-
Hi… I just added this code:
add_filter( 'woocommerce_cart_shipping_method_full_label', 'my_label', 8); function my_label($label) { return str_replace('(Gratis)', '', $label); }
To get ri d of the (Free) labels on my woocomerce shop and It didn’t work, it just worked when I added in the actual functions.php!
This is a problem because I really like to use this plugin to avoid problems when updating the theme.
How can I make this code work?
Thanks in advance!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Code not Working wit Snippets’ is closed to new replies.