woocommerce_json_search_found_product_categories

woocommerce_json_search_found_product_categories

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_json_search_found_product_categories') is found 1 times:

  • /includes/class-wc-ajax.php line 2007
    		 * @since 7.0.0
    		 * @param array   $found_product_categories Array of matched product categories.
    		 * @param string  $search_text              Search text.
    		 */
    		wp_send_json( apply_filters( 'woocommerce_json_search_found_product_categories', $found_product_categories, $search_text ) );
    	}
    
    	/**
    	 * Ajax request handling for page searching.
    	 */
    	public static function json_search_pages() {