Code hint for determining who is logged in | Support | Support

Support Forum

If you want to show a shortcode in forum post - use [ instead of [ as you write it so you can see the shortcode 😉

We use and recommend UK2 for hosting - get a month free

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Code hint for determining who is logged in
12th October 2020
12:22 am
Avatar
Playas de Rosarito, Baja California, Mexico
Member
Members
Forum Posts: 153
Member Since:
9th July 2019
sp_UserOfflineSmall Offline

I would like to be able to get information about the app user using Javascript.

Is there an array to read?
Would it be better to grab the user id from localStorage and somehow resolve it via the Wordpress API?

I would love to be able to query ALL about the user. i.e. query via API to tell email, groups that they are in, classes, etc.

Andrew

Forum Timezone: Europe/London

Most Users Ever Online: 101

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Pastor Andres: 153

Rich Cox: 97

David Z.: 84

rrfranks: 69

seanmcint: 54

Allen: 51

Jon: 46

Gavin: 41

Nathan Booth: 36

Janeen: 23

Member Stats:

Guest Posters: 45

Members: 425

Moderators: 0

Admins: 1

Forum Stats:

Groups: 5

Forums: 14

Topics: 620

Posts: 2322

Administrators: andymoyle: 942