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,
Posts: 32
Reputation: 1,069

Return to How do I....?

Who is online

Users browsing this forum: saiprakash, SERGIOManOwaR, Themrcoolio, zenox98 and 6 guests