You appear to be a bot. Output may be restricted
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).
$array = get_featured_product_ids();
File name: woocommerce/includes/interfaces/class-wc-product-data-store-interface.php
public function get_featured_product_ids();