WordPress开发者和主题制作者的搜索引擎



secure_signon_cookie ›

Since3.1.0
已弃用n/a
apply_filters( 'secure_signon_cookie', $secure_cookie, $credentials )
参数: (2)
  • (bool) $secure_cookie Whether to use a secure sign-on cookie.
    Required: Yes
  • (array) $credentials { Array of entered sign-on data. @type string $user_login Username. @type string $user_password Password entered. @type bool $remember Whether to 'remember' the user. Increases the time that the cookie will be kept. Default false. }
    Required: Yes
定义在:
文档:

Filters whether to use a secure sign-on cookie.





源码

$secure_cookie = apply_filters( 'secure_signon_cookie', $secure_cookie, $credentials );