Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LookupDataStore::is_variation( WC_Product $product )
Check if a given product is a variation.
Description Description
Parameters Parameters
- $product
-
(Required) The product to check.
Return Return
(bool) True if it's a variation, false otherwise.
Source Source
File: src/Internal/ProductAttributesLookup/LookupDataStore.php