woocommerce_template_single_rating()
Output the product rating.
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
woocommerce_template_single_rating();
Код woocommerce_template_single_rating() woocommerce template single rating WC 8.7.0
function woocommerce_template_single_rating() { if ( post_type_supports( 'product', 'comments' ) ) { wc_get_template( 'single-product/rating.php' ); } }