secure_logged_in_cookie

secure_logged_in_cookie

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('secure_logged_in_cookie') is found 1 times:

  • /wp-includes/pluggable.php line 1021
    		 * @param bool $secure_logged_in_cookie Whether the logged in cookie should only be sent over HTTPS.
    		 * @param int  $user_id                 User ID.
    		 * @param bool $secure                  Whether the auth cookie should only be sent over HTTPS.
    		 */
    		$secure_logged_in_cookie = apply_filters( 'secure_logged_in_cookie', $secure_logged_in_cookie, $user_id, $secure );
    
    		if ( $secure ) {
    			$auth_cookie_name = SECURE_AUTH_COOKIE;
    			$scheme           = 'secure_auth';
    		} else {
    			$auth_cookie_name = AUTH_COOKIE;