woocommerce_product_backorders_require_notification filter-hookWC 1.0

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

Usage

add_filter( 'woocommerce_product_backorders_require_notification', 'wp_kama_woocommerce_product_backorders_require_notification_filter', 10, 2 );

/**
 * Function for `woocommerce_product_backorders_require_notification` filter-hook.
 * 
 * @param  $condition 
 * @param  $that      
 *
 * @return 
 */
function wp_kama_woocommerce_product_backorders_require_notification_filter( $condition, $that ){

	// filter...
	return $condition;
}
$condition
-
$that
-

Where the hook is called

WC_Product::backorders_require_notification()
woocommerce_product_backorders_require_notification
woocommerce/includes/abstracts/abstract-wc-product.php 1720
return apply_filters( 'woocommerce_product_backorders_require_notification', ( $this->managing_stock() && 'notify' === $this->get_backorders() ), $this );

Where the hook is used in WooCommerce

Usage not found.