WordPress at Your Fingertips
function is not described

WC_Product_Data_Store_Interface::get_featured_product_ids() public WC 1.0

Returns a list of product IDs ( id as key => parent as value) that are featured. Uses get_posts instead of wc_get_products since we want some extra meta queries and ALL products (posts_per_page = -1).

{} It's a method of the class: WC_Product_Data_Store_Interface{}

No Hooks.




$WC_Product_Data_Store_Interface = new WC_Product_Data_Store_Interface();

Code of WC_Product_Data_Store_Interface::get_featured_product_ids() WC 5.6.0

public function get_featured_product_ids();