woocommerce_product_backorders_require_notification

woocommerce_product_backorders_require_notification

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_product_backorders_require_notification') is found 1 times:

  • /includes/abstracts/abstract-wc-product.php line 1795
    1791
    1792
    1793
    1794
    1795
    1796
    1797
    1798
    1799
    1800
    1801
    *
     * @return bool
     */
    public function backorders_require_notification() {
        return apply_filters( 'woocommerce_product_backorders_require_notification', ( $this->managing_stock() && 'notify' === $this->get_backorders() ), $this );
    }
     
    /**
     * Check if a product is on backorder.
     *
     * @param  int $qty_in_cart (default: 0).