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

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

add_filter( 'woocommerce_json_search_found_categories', 'wp_kama_woocommerce_json_search_found_categories_filter' );

/**
 * Function for `woocommerce_json_search_found_categories` filter-hook.
 * 
 * @param  $found_categories 
 *
 * @return 
 */
function wp_kama_woocommerce_json_search_found_categories_filter( $found_categories ){

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

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

WC_AJAX::json_search_categories()
woocommerce_json_search_found_categories
woocommerce/includes/class-wc-ajax.php 1727
wp_send_json( apply_filters( 'woocommerce_json_search_found_categories', $found_categories ) );

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

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