woocommerce_customer_stock_notification_should_skip_sending

woocommerce_customer_stock_notification_should_skip_sending

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.2.2

apply_filters('woocommerce_customer_stock_notification_should_skip_sending') is found 1 times:

  • /src/Internal/StockNotifications/Utilities/EligibilityService.php line 182
    		 * @param bool $should_skip Whether to skip sending.
    		 * @param int  $notification_id The notification ID.
    		 * @return bool
    		 */
    		return (bool) apply_filters( 'woocommerce_customer_stock_notification_should_skip_sending', $should_skip, $notification->get_id() );
    	}
    
    	/**
    	 * Check if notification is throttled.
    	 *
    	 * @param Notification $notification The notification object.