如果身份验证cookie格式错误,则触发。
原型
do_action( 'auth_cookie_malformed', string $cookie, string $scheme )
参数
$cookie
(string)
格式错误的身份验证cookie。
$scheme
(string)
认证方案。值包括’auth’,‘secure_auth’或’logged_in’。
源文件
路径:wp-includes/pluggable.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/auth_cookie_malformed/