woocommerce_customer_stock_notifications_requires_nonce_check filter-hookWC 10.2.0

Filter to require nonce check.

Usage

add_filter( 'woocommerce_customer_stock_notifications_requires_nonce_check', 'wp_kama_woocommerce_customer_stock_notifications_requires_nonce_check_filter' );

/**
 * Function for `woocommerce_customer_stock_notifications_requires_nonce_check` filter-hook.
 * 
 * @param bool $requires_nonce_check Whether to require nonce check.
 *
 * @return bool
 */
function wp_kama_woocommerce_customer_stock_notifications_requires_nonce_check_filter( $requires_nonce_check ){

	// filter...
	return $requires_nonce_check;
}
$requires_nonce_check(true|false)
Whether to require nonce check.

Changelog

Since 10.2.0 Introduced.

Where the hook is called

FormHandlerService::requires_nonce_check()
woocommerce_customer_stock_notifications_requires_nonce_check
woocommerce/src/Internal/StockNotifications/Frontend/FormHandlerService.php 115
return (bool) apply_filters( 'woocommerce_customer_stock_notifications_requires_nonce_check', $requires_account );

Where the hook is used in WooCommerce

Usage not found.