Redirecting or displaying a message on first login
here’s an example that hooks login_redirect and checks when their account was created, then redirects them to a url of your choice if it’s been less than 48 hours: function my_redirect( $to, $requested, $user ){ if( !isset( $user->user_login ) ){ // we only want this to run when credentials have been supplied return $to; } … Read more