secure_signon_cookie

secure_signon_cookie

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('secure_signon_cookie') is found 1 times:

  • /wp-includes/user.php line 102
    	 *     @type bool   $remember      Whether to 'remember' the user. Increases the time
    	 *                                 that the cookie will be kept. Default false.
    	 * }
    	 */
    	$secure_cookie = apply_filters( 'secure_signon_cookie', $secure_cookie, $credentials );
    
    	// XXX ugly hack to pass this to wp_authenticate_cookie().
    	$auth_secure_cookie = $secure_cookie;
    
    	add_filter( 'authenticate', 'wp_authenticate_cookie', 30, 3 );