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.
WC_Product_Variable::variation_is_available( WC_Product_Variation $variation )
Check if a given variation is currently available.
Description Description
Parameters Parameters
- $variation
-
(Required) Variation to check.
Return Return
(bool) True if the variation is available, false otherwise.
Source Source
File: includes/class-wc-product-variable.php