This page redirects to an external site: https://developer.wordpress.org/reference/hooks/set_logged_in_cookie/
set_logged_in_cookie is an action that fires immediately before the secure authentication cookie is set.
add_action( 'set_logged_in_cookie', 'my_cookie_action', 10, 5 );
function my_cookie_action( $logged_in_cookie, $expire, $expiration, $user_id, $scheme ) {
// complete some action when the cookie is set.
return;
}
Since: Version 2.6
set_logged_in_cookie is located in wp-includes/pluggable.php