On this page
apply_filters( 'secure_signon_cookie', bool $secure_cookie, array $credentials )
Filters whether to use a secure sign-on cookie.
Parameters
$secure_cookiebool-
Whether to use a secure sign-on cookie.
$credentialsarray-
Array of entered sign-on data.
user_loginstringUsername.user_passwordstringPassword entered.rememberboolWhether to'remember'the user. Increases the time that the cookie will be kept. Default false.
Source
File: wp-includes/user.php. View all references
$secure_cookie = apply_filters( 'secure_signon_cookie', $secure_cookie, $credentials );
Related
Used By
| Used By | Description |
|---|---|
| wp_signon() wp-includes/user.php | Authenticates and logs a user in with ‘remember’ capability. |
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/secure_signon_cookie