fbpx

wpf_is_user_logged_in()

#Overview

This function checks if the current user is logged in to an account.
This function also supports auto-logged-in users.

#Return

(bool) Whether the user is logged in.

#Check if the current user is logged in

$logged_in = wpf_is_user_logged_in();

Was this helpful?