apply_filters( ‘secure_signon_cookie’, bool $secure_cookie, array $credentials )

In this article

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_login string
    Username.
  • user_password string
    Password entered.
  • remember bool
    Whether to 'remember' the user. Increases the time that the cookie will be kept. Default false.

Source

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

Changelog

VersionDescription
3.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.