Introduction
To use the CurrentMember API, import {currentMember}
from the wix-members-frontend
module:
javascript | Copy Codeimport { currentMember } from 'wix-members-frontend';
Note: The APIs in
CurrentMember
are only partially functional when previewing your site. View a published version of your site to see their complete functionality.
Was this helpful?