woocommerce_json_search_limit filter-hookWC 1.0

Usage

add_filter( 'woocommerce_json_search_limit', 'wp_kama_woocommerce_json_search_limit_filter' );

/**
 * Function for `woocommerce_json_search_limit` filter-hook.
 * 
 * @param  $30 
 *
 * @return 
 */
function wp_kama_woocommerce_json_search_limit_filter( $30 ){

	// filter...
	return $30;
}
$30
-

Where the hook is called

WC_AJAX::json_search_products()
woocommerce_json_search_limit
WC_AJAX::json_search_downloadable_products_and_variations()
woocommerce_json_search_limit
woocommerce/includes/class-wc-ajax.php 1583
$limit = absint( apply_filters( 'woocommerce_json_search_limit', 30 ) );
woocommerce/includes/class-wc-ajax.php 1658
$limit = absint( apply_filters( 'woocommerce_json_search_limit', 30 ) );

Where the hook is used in WooCommerce

Usage not found.