-
-
Save ddbs/9716258 to your computer and use it in GitHub Desktop.
WooCommerce Change empty price text
This file contains 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
// Change empty price | |
function custom_empty_price( $price, $product ) { | |
return __( 'Call or Email for price', 'WooCommerce' ) ; | |
} | |
add_filter( 'woocommerce_variable_empty_price_html', 'custom_empty_price', 10, 2 ); | |
add_filter( 'woocommerce_empty_price_html', 'custom_empty_price', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment