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_variable_product( WC_Product $product )
Check if a given product is a variable product.
Description Description
Parameters Parameters
- $product
-
(Required) The product to check.
Return Return
(bool) True if it's a variable product, false otherwise.
Source Source
File: src/Internal/ProductAttributesLookup/LookupDataStore.php