$userisLoggedin()

Is the current $user logged in and the same as this user?

When this method returns true, it means the current $user (API variable) is this user and that they are logged in.

Usage

$bool = $user->isLoggedin();

Return value

bool


$user methods and properties

API reference based on ProcessWire core version 3.0.252