WC_Product_Variable_Data_Store_Interface::child_is_in_stock()publicWC 1.0

Is a child in stock?

Method of the class: WC_Product_Variable_Data_Store_Interface{}

No Hooks.

Return

true|false.

Usage

$WC_Product_Variable_Data_Store_Interface = new WC_Product_Variable_Data_Store_Interface();
$WC_Product_Variable_Data_Store_Interface->child_is_in_stock( $product );
$product(WC_Product) (required)
Product object.

WC_Product_Variable_Data_Store_Interface::child_is_in_stock() code WC 8.9.0

public function child_is_in_stock( $product );