do_action( 'wp_verify_nonce_failed', string $nonce, string|int $action, WP_User $user, string $token )
Fires when nonce verification fails.
Parameters
- $nonce
-
(string) The invalid nonce.
- $action
-
(string|int) The nonce action.
- $user
-
(WP_User) The current user object.
- $token
-
(string) The user's session token.
Source
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_verify_nonce_failed