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