WordPress at Your Fingertips
filter is not described

woocommerce_should_send_no_stock_notification filter-hook . WC 4.6.0

Determine if the current product should trigger a no stock notification

Usage

add_filter( 'woocommerce_should_send_no_stock_notification', 'filter_function_name_9973' );
function filter_function_name_9973( $product_id ){
	// filter...

	return $product_id;
}
$product_id
-

Changelog

Since 4.6.0 Introduced.

Where the hook is called

WC_Emails::no_stock()
woocommerce_should_send_no_stock_notification
woocommerce/includes/class-wc-emails.php 659
if ( false === apply_filters( 'woocommerce_should_send_no_stock_notification', true, $product->get_id() ) ) {

Where in WP core the hook is used WooCommerce

Usage not found.