Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to create New Users from external. I've found this is function in wordpress:

wp_create_user( $username, $password, $email );

So how can i run this function from external call please?

I mean, how to run this function from either:

  • Via simple URL with GET, like: www.example.com/adduser/?username=james&password=simpletext&email=myemail
  • Via cURL with POST

.. from external website.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.