woocommerce_grouped_price_html
Usage
add_filter( 'woocommerce_grouped_price_html', 'wp_kama_woocommerce_grouped_price_html_filter', 10, 3 );
/**
* Function for `woocommerce_grouped_price_html` filter-hook.
*
* @param $price_suffix
* @param $that
* @param $child_prices
*
* @return
*/
function wp_kama_woocommerce_grouped_price_html_filter( $price_suffix, $that, $child_prices ){
// filter...
return $price_suffix;
}
- $price_suffix
- -
- $that
- -
- $child_prices
- -
Where the hook is called
woocommerce_grouped_price_html
woocommerce/includes/class-wc-product-grouped.php 124
$price = apply_filters( 'woocommerce_grouped_price_html', $price . $this->get_price_suffix(), $this, $child_prices );