woocommerce_product_related_posts_shuffle filter-hookWC 1.0

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

wc_get_related_products()
woocommerce_product_related_posts_shuffle
woocommerce/includes/wc-product-functions.php 954
if ( apply_filters( 'woocommerce_product_related_posts_shuffle', true ) ) {

Where the hook is used in WooCommerce

Usage not found.