woocommerce_json_search_found_categories

woocommerce_json_search_found_categories

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_json_search_found_categories') is found 2 times:

  • /includes/class-wc-ajax.php line 1846
    				$found_categories[ $term->term_id ] = $term;
    			}
    		}
    
    		wp_send_json( apply_filters( 'woocommerce_json_search_found_categories', $found_categories ) );
    	}
    
    	/**
    	 * Search for categories and return json.
    	 */
    	public static function json_search_categories_tree() {
    
  • /includes/class-wc-ajax.php line 1915
    			function( $term ) {
    				return 0 === $term->parent;
    			}
    		);
    		wp_send_json( apply_filters( 'woocommerce_json_search_found_categories', $parent_terms ) );
    	}
    
    	/**
    	 * Search for taxonomy terms and return json.
    	 */
    	public static function json_search_taxonomy_terms() {