[wp-testers] register_post action

Matthew Robinson mattyrobuk at googlemail.com
Fri May 18 08:45:36 GMT 2007


Thanks Jennifer,

Brain wasn't working last night - I'd forgotten about that hook. Working now
:-)

Matt

On 17/05/07, Jennifer Hodgdon <yahgrp at poplarware.com> wrote:
>
> Matthew Robinson wrote:
> > I've found that the register_post action is called _before_ a user_id is
> > created. No while I can see the sense in this how can I manipulate the
> > registration process using the users id with this hook so I can enter
> > some values into the usermeta table?
>
> Try the 'user_register' action hook instead. Input argument is the new
> user_id that was just created, and the action is called whenever a new
> user is created.
>
>      Jennifer
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list