WordPress at a glance
filter is not described

woocommerce_product_query_max_rand_cache_count filter-hook . WC 1.0

When using rand, we'll cache a number of random queries and pull those to avoid querying rand on each page load.

Usage

add_filter( 'woocommerce_product_query_max_rand_cache_count', 'filter_function_name_8485' );
function filter_function_name_8485( $5 ){
	// filter...

	return $5;
}
$5
-

Where the hook is called

WC_Shortcode_Products::get_transient_name()
woocommerce_product_query_max_rand_cache_count
woocommerce/includes/shortcodes/class-wc-shortcode-products.php 550
$rand_index      = wp_rand( 0, max( 1, absint( apply_filters( 'woocommerce_product_query_max_rand_cache_count', 5 ) ) ) );

Where in WP core the hook is used WooCommerce

Usage not found.