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:

Description

Determines whether the current visitor is a logged in user.

For more information on this and similar theme functions, check out the {@link https://developer.wordpress.org/themes/basics/conditional-tags/ Conditional Tags} article in the Theme Developer Handbook.

Related Functions

is_user_admin, wp_ajax_logged_in, is_super_admin, is_serialized_string, set_user_setting

Top Google Results

User discussions

wpseek mobile