WC_Product::backorders_require_notification() – Returns whether or not the product needs to notify the customer on backorder.

You appear to be a bot. Output may be restricted

Description

Returns whether or not the product needs to notify the customer on backorder.

Usage

$bool = WC_Product::backorders_require_notification();

Parameters

Returns

bool

Source

File name: woocommerce/includes/abstracts/abstract-wc-product.php
Lines:

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

 View on GitHub View on Trac