woocommerce_variable_empty_price_html
Usage
add_filter( 'woocommerce_variable_empty_price_html', 'wp_kama_woocommerce_variable_empty_price_html_filter', 10, 2 ); /** * Function for `woocommerce_variable_empty_price_html` filter-hook. * * @param $string * @param $that * * @return */ function wp_kama_woocommerce_variable_empty_price_html_filter( $string, $that ){ // filter... return $string; }
- $string
- -
- $that
- -
Where the hook is called
woocommerce/includes/class-wc-product-variable.php 168
$price = apply_filters( 'woocommerce_variable_empty_price_html', '', $this );