I want to use Wordpress for the user management of a simple web app.

What I really need to do:

  • Check if a user is logged in
  • Save meta data to a logged in user
  • Read meta data of a logged in user

Doing the register process in my web app would be nice, too, but it would also work on another page.

Is it possible to do these things "outside" of the WP installation (but on the same domain)? For example via ajax requests?

Where can I start?


I just read about including wp_load.php to use the WP functions. Is that a clever approach?

Thank you so much!

1 Answer 1


You might want to take a look at the REST API that comes out of the box with WordPress.

Here are the docs for Users, you can register users and list/retrieve/update them https://developer.wordpress.org/rest-api/reference/users/

Here's the information about how to authenticate to use the API (so that you can Reigister Users for instance) https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/

  • 1
    Looks like that is the way to go. I'm completely new to that, hope it will work out like I imagine. Thanks.
    – Timo
    Sep 30, 2020 at 6:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.