perch_member_logged_in()

Check if a member is logged in with the perch_member_logged_in() function.

Requires

Usage examples

Only print the string ‘Hello!’, if the member is logged in.

if (perch_member_logged_in()) {
     echo 'Hello!';
}