WC_Product_Data_Store_CPT::get_featured_product_ids()

Method: 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).

Source: includes/data-stores/class-wc-product-data-store-cpt.php:945

Used by 0 functions | Uses 1 function