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.


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

	return $secure_cookie;
Whether to use a secure sign-on cookie.
Array of entered sign-on data.
  • @type string $user_login Username.
  • @type string $user_password Password entered.

    • $remember (true/false)
      Whether to 'remember' the user. Increases the time that the cookie will be kept.

      Default: false*

Where the hook is called

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

Where the hook is used (in WP core)

Does not used.