woocommerce_product_backorders_allowed

woocommerce_product_backorders_allowed

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_product_backorders_allowed') is found 1 times:

  • /includes/abstracts/abstract-wc-product.php line 1760
    	 *
    	 * @return bool
    	 */
    	public function backorders_allowed() {
    		return apply_filters( 'woocommerce_product_backorders_allowed', ( 'yes' === $this->get_backorders() || 'notify' === $this->get_backorders() ), $this->get_id(), $this );
    	}
    
    	/**
    	 * Returns whether or not the product needs to notify the customer on backorder.
    	 *
    	 * @return bool