Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
279 views
in Q2A Core by

1 Answer

0 votes
by

If you mean adding users programmatically, you can use the function qa_create_new_user

You can run that from a separate PHP script. See here for using external code, the create user function looks like this:

// basic version
qa_create_new_user($email, $password, $handle);
// or advanced version
qa_create_new_user($email, $password, $handle, $level, $confirmed);

See qa-include/app/users-edit.php line 148.

...