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.


Top ↑

Return Return

(bool) True if the variation is available, false otherwise.


Top ↑

Source Source

File: includes/class-wc-product-variable.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.