WC_Product::backorders_allowed()
Returns whether or not the product can be backordered.
Description Description
Return Return
(bool)
Source Source
File: includes/abstracts/abstract-wc-product.php
public function backorders_allowed() { return apply_filters( 'woocommerce_product_backorders_allowed', ( 'yes' === $this->get_backorders() || 'notify' === $this->get_backorders() ), $this->get_id(), $this ); }