Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'init', 'sliced_woocommerce_remove_filters' );
- function sliced_woocommerce_remove_filters() {
- remove_filter( 'woocommerce_product_add_to_cart_text', 'sliced_woocommerce_custom_button_text' );
- remove_filter( 'woocommerce_product_single_add_to_cart_text', 'sliced_woocommerce_custom_button_text' );
- }
Add Comment
Please, Sign In to add comment