woocommerce_json_search_found_products хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_json_search_found_products', 'wp_kama_woocommerce_json_search_found_products_filter' );

/**
 * Function for `woocommerce_json_search_found_products` filter-hook.
 * 
 * @param  $products 
 *
 * @return 
 */
function wp_kama_woocommerce_json_search_found_products_filter( $products ){

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

Где вызывается хук

WC_AJAX::json_search_products()
woocommerce_json_search_found_products
woocommerce/includes/class-wc-ajax.php 1572
wp_send_json( apply_filters( 'woocommerce_json_search_found_products', $products ) );

Где используется хук в WooCommerce

Использование не найдено.