woocommerce_product_get_rating_html
Usage
add_filter( 'woocommerce_product_get_rating_html', 'wp_kama_woocommerce_product_get_rating_html_filter', 10, 3 ); /** * Function for `woocommerce_product_get_rating_html` filter-hook. * * @param $html * @param $rating * @param $count * * @return */ function wp_kama_woocommerce_product_get_rating_html_filter( $html, $rating, $count ){ // filter... return $html; }
- $html
- -
- $rating
- -
- $count
- -
Where the hook is called
woocommerce_product_get_rating_html
woocommerce/includes/wc-template-functions.php 3704
return apply_filters( 'woocommerce_product_get_rating_html', $html, $rating, $count );