woocommerce_json_search_found_products

woocommerce_json_search_found_products

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_json_search_found_products') is found 1 times:

  • /includes/class-wc-ajax.php line 1688
     
    			$products[ $product_object->get_id() ] = rawurldecode( wp_strip_all_tags( $formatted_name ) );
    		}
    
    		wp_send_json( apply_filters( 'woocommerce_json_search_found_products', $products ) );
    	}
    
    	/**
    	 * Search for product variations and return json.
    	 *
    	 * @see WC_AJAX::json_search_products()