[wp-hackers] Check to see if there a wordpress user account and create one if not outside of wordpress

Daniel danielx386 at gmail.com
Sun Nov 17 22:34:54 UTC 2013


Hi guys,

Just wondering, does anyone know how I can go about checking to see if
there a wordpress account and create one if there isn't?

Script that I got: https://gist.github.com/Danielx64/7519092

There a marker in the file that has "// Somewhere here I want to put a
check to see if there a wp account" What I want to happen there is
that a check get done to see if there is a wordpress account and if
there not, create one.

Does anyone know if it can be done?

PS, I don't need to worry about logging into wordpress as that will
get taken care of by a different script. Also anyone who can help me
out will also get credit in the source code and readme :)

Regards,
Daniel


More information about the wp-hackers mailing list