WC_Product::backorders_require_notification()
Returns whether or not the product needs to notify the customer on backorder.
Method of the class: WC_Product{}
Hooks from the method
Return
true|false
.
Usage
$WC_Product = new WC_Product(); $WC_Product->backorders_require_notification();
WC_Product::backorders_require_notification() WC Product::backorders require notification code WC 9.7.1
public function backorders_require_notification() { return apply_filters( 'woocommerce_product_backorders_require_notification', ( $this->managing_stock() && 'notify' === $this->get_backorders() ), $this ); }