set_logged_in_cookie

set_logged_in_cookie

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('set_logged_in_cookie') is found 1 times:

  • /wp-includes/pluggable.php line 1071
    		 * @param int    $user_id          User ID.
    		 * @param string $scheme           Authentication scheme. Default 'logged_in'.
    		 * @param string $token            User's session token to use for this cookie.
    		 */
    		do_action( 'set_logged_in_cookie', $logged_in_cookie, $expire, $expiration, $user_id, 'logged_in', $token );
    
    		/**
    		 * Allows preventing auth cookies from actually being sent to the client.
    		 *
    		 * @since 4.7.4
    		 * @since 6.2.0 The `$expire`, `$expiration`, `$user_id`, `$scheme`, and `$token` parameters were added.
    

See this hook used in plugins: