WC_Product::backorders_require_notification()publicWC 1.0

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 9.3.3

public function backorders_require_notification() {
	return apply_filters( 'woocommerce_product_backorders_require_notification', ( $this->managing_stock() && 'notify' === $this->get_backorders() ), $this );
}