woocommerce_product_related_posts_shuffle хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_product_related_posts_shuffle', 'filter_function_name_4599' ); function filter_function_name_4599( $true ){ // filter... return $true; }
- $true
- -
Где вызывается хук
woocommerce_product_related_posts_shuffle
woocommerce/includes/wc-product-functions.php 926
if ( apply_filters( 'woocommerce_product_related_posts_shuffle', true ) ) {