Outputting only an array with WordPress user data for an external application?
-
Hi there,
In order to connect WordPress to my forum, which is running on the Vanilla platform, I need to provide a link to a page which will only output WordPress user data, nothing more. I know how to output the data in a place where I have access to the WordPress codex functions, but I haven’t got a clue how to set up a page which will have only the array on it, just saying something like
{"email":"[email protected]","name":"John Doe","photourl":"","uniqueid":"123456","client_id":"1234567890", "signature":"abcdefghijklmnopqrstuvwxyz"}
.
How should I go about putting this piece of code, which can generate the array to be returned, on a page with nothing else on it (so only the array will be returned) and with access to the WordPress codex functions it relies on?
Thanks in advance!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Outputting only an array with WordPress user data for an external application?’ is closed to new replies.