WC_Product_Variable::child_is_on_backorder
Is a child on backorder?
Method of the class: WC_Product_Variable{}
No Hooks.
Returns
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() WC Product Variable::child is on backorder code WC 10.3.5
public function child_is_on_backorder() {
return $this->data_store->child_has_stock_status( $this, ProductStockStatus::ON_BACKORDER );
}