apply_filters( 'secure_signon_cookie', bool $secure_cookie , array $credentials )
Filters whether to use a secure sign-on cookie.
Parameters
- $secure_cookie
-
Whether to use a secure sign-on cookie.
- $credentials
-
Array of entered sign-on data.<br>
- 'user_login'
(string) Username.<br> - 'user_password'
(string) Password entered.<br> - 'remember'
(bool) Whether to 'remember' the user. Increases the time that the cookie will be kept. Default false.<br>
- 'user_login'
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |