WC_Product_Variable::child_is_on_backorder()publicWC 3.3.0

Is a child on backorder?

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_on_backorder();

Changelog

Since 3.3.0 Introduced.

WC_Product_Variable::child_is_on_backorder() code WC 8.7.0

public function child_is_on_backorder() {
	return $this->data_store->child_has_stock_status( $this, 'onbackorder' );
}