WordPress at a glance
filter is not described

secure_signon_cookie filter-hook . WP 3.1.0

Filters whether to use a secure sign-on cookie.

Usage

add_filter( 'secure_signon_cookie', 'filter_function_name_9811', 10, 2 );
function filter_function_name_9811( $secure_cookie, $credentials ){
	// filter...

	return $secure_cookie;
}
$secure_cookie(true/false)
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(true/false)
    Whether to 'remember' the user. Increases the time that the cookie will be kept.
    Default: false

Список изменений

С версии 3.1.0 Введена.

Где вызывается хук

wp_signon()
secure_signon_cookie
wp-includes/user.php 88
$secure_cookie = apply_filters( 'secure_signon_cookie', $secure_cookie, $credentials );

Где используется хук в ядре WP

Использование не найдено.