woocommerce_reviews_title хук-фильтр . WC 1.0
translators: 1: reviews count 2: product name
Использование
add_filter( 'woocommerce_reviews_title', 'filter_function_name_9113', 10, 3 ); function filter_function_name_9113( $reviews_title, $count, $product ){ // filter... return $reviews_title; }
- $reviews_title
- -
- $count
- -
- $product
- -
Где вызывается хук
woocommerce_reviews_title
woocommerce/templates/single-product-reviews.php 35
echo apply_filters( 'woocommerce_reviews_title', $reviews_title, $count, $product ); // WPCS: XSS ok.