woocommerce_json_search_found_categories filter-hookWC 1.0

Usage

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
-

Where the hook is called

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

Where the hook is used in WooCommerce

Usage not found.