Filter hook 'secure_signon_cookie'

in WP Core File wp-includes/user.php at line 102

Description

Filters whether to use a secure sign-on cookie. that the cookie will be kept. Default false. }

Occurrences

Filename Line Number
wp-includes/user.php 102

Parameters

Type Name Description
bool $secure_cookie Whether to use a secure sign-on cookie.
array $credentials { Array of entered sign-on data.

PHP Doc

/**
	 * Filters whether to use a secure sign-on cookie.
	 *
	 * @since 3.1.0
	 *
	 * @param bool  $secure_cookie Whether to use a secure sign-on cookie.
	 * @param 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.
	 * }
	 */