apply_filters( 'secure_signon_cookie', bool $secure_cookie, array $credentials )

Filters whether to use a secure sign-on cookie.


Parameters Parameters

$secure_cookie

(bool) Whether to use a secure sign-on cookie.

$credentials

(array) 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.


Top ↑

Source Source

File: wp-includes/user.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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