Determine if the current user is already logged in

Using is_user_logged_in() you can detect the status of the current user. In addition to this you can also call wp_get_current_user() which will set a global object the the current user information.




	

Welcome, user_login ?>

Welcome, visitor

Learn more

Leave a Reply