woocommerce_product_get_rating_html хук-фильтрWC 1.0

Использование

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
-

Где вызывается хук

wc_get_rating_html()
woocommerce_product_get_rating_html
woocommerce/includes/wc-template-functions.php 3681
return apply_filters( 'woocommerce_product_get_rating_html', $html, $rating, $count );

Где используется хук в WooCommerce

Использование не найдено.