当nonce验证失败时触发。
原型
do_action( 'wp_verify_nonce_failed', string $nonce, string|int $action, WP_User $user, string $token )
参数
$nonce
(string)
无效的nonce。
$action
(string|int)
随机动作。
$user
(WP_User)
当前用户对象。
$token
(string)
用户的会话令牌。
源文件
路径:wp-includes/pluggable.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/wp_verify_nonce_failed/