Forum

Thread tagged as: Question, Addons, Api

Information about currently logged in member in Members App

I think I can fetch the members class like

$API = new PerchAPI(1.0, 'perch_members');
$Members = new PerchMembers_Members($API);

How do I get the details of the currently logged in member then?

Florian Rudin

Florian Rudin 0 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You can use perch_member_get() e.g.

perch_member_get('email');

Of course, now that I know the solution, I can also find it in the docs.. ;) Thank you