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
Method: Check if product sku is found for any other product IDs.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:980
Method: Return product ID based on SKU.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:1010
Method: Clear any caches.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:873
Method: Update visibility terms based on props.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:725
Method: Update attributes which are a mix of terms and meta data.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:771
Method: Update downloads.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:822
Method: Make sure we store the product type and version (to track data changes).
Source: includes/data-stores/class-wc-product-data-store-cpt.php:853
Method: Read downloads from post meta.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:490
Method: Helper method that updates all the post meta for a product based on it’s settings in the WC_Product class.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:516