woocommerce_product_backorders_require_notification filter-hook . WC 1.0
Returns whether or not the product needs to notify the customer on backorder.
Usage
add_filter( 'woocommerce_product_backorders_require_notification', 'filter_function_name_9514', 10, 2 ); function filter_function_name_9514( $condition, $that ){ // filter... return $condition; }
- $condition
- -
- $that
- -
Where the hook is called
woocommerce_product_backorders_require_notification
woocommerce/includes/abstracts/abstract-wc-product.php 1651
return apply_filters( 'woocommerce_product_backorders_require_notification', ( $this->managing_stock() && 'notify' === $this->get_backorders() ), $this );