woocommerce_json_search_found_product_categories

woocommerce_json_search_found_product_categories

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.7.1.0

apply_filters('woocommerce_json_search_found_product_categories') is found 1 times:

  • /includes/class-wc-ajax.php line 1822
    		 * @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() {