is_user_logged_in
is_user_logged_in ( No parameters )
Returns:- (bool) True if user is logged in, false if not logged in.
Defined at: - Introduced in WordPress: 2.0.0
- Deprecated in WordPress: —
Description
Determines whether the current visitor is a logged in user.For more information on this and similar theme functions, check out
the {@link Conditional Tags} article in the Theme Developer Handbook.