Wix Members: New loggedIn() function

Just released: The new loggedIn() function has been released for the wix-members frontend module. loggedIn() checks whether the current site visitor is a logged-in member. It returns true if they’re logged in, false if they’re not. No promise, just a boolean. It’s a really convenient way to check before running a function that relies on the current session belonging to a member.

5 Likes