How do I get the logged in user info from Wordpress with C2?

Get help using Construct 2

Post » Thu Dec 22, 2016 12:07 am

Dear All,

I'm working on a game to include into a Wordpress page as an iframe, where I would like to get the user info for the currently logged in Wordpress user.
I found the wp_get_current_user() function as a reference, but how can I use it from Construct 2?
with AJAX? or with Browser Exec JS?

Thanks for Your help in advance,
vargazso
B
19
S
4
Posts: 32
Reputation: 1,044

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests