do_action( ‘wp_verify_nonce_failed’, string $nonce, string|int $action, WP_User $user, string $token )

In this article

Fires when nonce verification fails.

Parameters

$noncestring
The invalid nonce.
$actionstring|int
The nonce action.
$userWP_User
The current user object.
$tokenstring
The user’s session token.

Source

$expected = substr( wp_hash( ( $i - 1 ) . '|' . $action . '|' . $uid . '|' . $token, 'nonce' ), -12, 10 );

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.