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.8.7.0

apply_filters('woocommerce_product_backorders_require_notification') is found 1 times:

  • /includes/abstracts/abstract-wc-product.php line 1732
    	 *
    	 * @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).