[wp-hackers] Adding Users via plugin
pcavit at gmail.com
Sun Oct 23 22:42:29 GMT 2005
Awesome, I thought it was a little weird that it didn't exist yet.
On 10/23/05, Matt Mullenweg <m at mullenweg.com> wrote:
> Pat Cavit wrote:
> > My question would be: is there a better way to do this? I'm looking
> > into output buffering and faking POST data so that I can include
> > users.php into my plugin and have it register people via the official
> > WP codepath but it still seems pretty gross. Is there any sort of
> > cleaner interface/method of registering a user inside of a plugin?
> In 1.5 that's probably the easiest way, but in 1.6 we've encapsulated
> this in a function (wp_create_user) that should make your life easier.
> Matt Mullenweg
> http://photomatt.net | http://wordpress.org
> http://pingomatic.com | http://cnet.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers