WC_Product_Variable::child_is_in_stock()publicWC 1.0

Is a child in stock?

Method of the class: WC_Product_Variable{}

No Hooks.

Return

true|false.

Usage

$WC_Product_Variable = new WC_Product_Variable();
$WC_Product_Variable->child_is_in_stock();

WC_Product_Variable::child_is_in_stock() code WC 9.4.2

public function child_is_in_stock() {
	return $this->data_store->child_is_in_stock( $this );
}