Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( ! function_exists( 'wvs_miuzin_theme_support' ) ) {
- function wvs_miuzin_theme_support() {
- add_filter( 'woo_variation_swatches_archive_add_to_cart_select_options', 'miuzin_custom_cart_button_text');
- add_filter( 'woo_variation_swatches_archive_add_to_cart_text', 'miuzin_custom_cart_button_text');
- }
- }
- add_action( 'init', 'wvs_miuzin_theme_support', 20 );
- add_filter( 'woocommerce_product_add_to_cart_text', 'miuzin_custom_cart_button_text' );
- if ( ! function_exists( 'miuzin_custom_cart_button_text' ) ) {
- function miuzin_custom_cart_button_text() {
- return '';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement