WC_Product::backorders_require_notification()
Returns whether or not the product needs to notify the customer on backorder.
Метод класса: WC_Product{}
Хуки из метода
Возвращает
true|false
.
Использование
$WC_Product = new WC_Product(); $WC_Product->backorders_require_notification();
Код WC_Product::backorders_require_notification() WC Product::backorders require notification WC 9.3.3
public function backorders_require_notification() { return apply_filters( 'woocommerce_product_backorders_require_notification', ( $this->managing_stock() && 'notify' === $this->get_backorders() ), $this ); }