wp_verify_nonce_failed action-hook . WP 4.4.0
Fires when nonce verification fails.
Usage
add_action( 'wp_verify_nonce_failed', 'action_function_name_4104', 10, 4 ); function action_function_name_4104( $nonce, $action, $user, $token ){ // action... }
- $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.
Changelog
Since 4.4.0 | Introduced. |
Where the hook is called
wp_verify_nonce_failed
wp-includes/pluggable.php 2179
do_action( 'wp_verify_nonce_failed', $nonce, $action, $user, $token );