1. 首页
  2. WordPress钩子手册

auth_cookie_malformed

do_action( ‘auth_cookie_malformed’, string $cookie, string $scheme )

操作挂钩:如果身份验证cookie的格式不正确,则激发。
Action Hook: Fires if an authentication cookie is malformed.

目录锚点:#参数#源码


参数(Parameters)

参数 类型 说明
$cookie (string) 身份验证cookie格式错误。
$scheme (string) 身份验证方案。值包括“auth”、“secure-auth”或“logged-in”。

源码(Source)


更新版本 源码位置 使用 被使用
2.7.0 wp-includes/pluggable.php:619 1 0

auth_cookie_malformed 为WP2原创文章,链接:https://www.wp2.cn/hook/auth_cookie_malformed/