woocommerce_product_related_posts_shuffle
Usage
add_filter( 'woocommerce_product_related_posts_shuffle', 'wp_kama_woocommerce_product_related_posts_shuffle_filter' );
/**
* Function for `woocommerce_product_related_posts_shuffle` filter-hook.
*
* @param $true
*
* @return
*/
function wp_kama_woocommerce_product_related_posts_shuffle_filter( $true ){
// filter...
return $true;
}
- $true
- -
Where the hook is called
woocommerce_product_related_posts_shuffle
woocommerce/includes/wc-product-functions.php 1387
if ( apply_filters( 'woocommerce_product_related_posts_shuffle', true ) ) {