[wp-hackers] User login action
ljunior2005 at gmail.com
Tue Jun 14 01:36:37 UTC 2011
Set_current_user The action will not help, really the best option would
wp_signon ()(wp_login is deprecated and this is the surrogate), the thing is
that wp_signon () is used to check if authentication data is correct, returns
true if so .
I think what the friend wants is just a function call at login time.
2011/6/13 John Blackbourn <johnbillion+wp at gmail.com>
> On 14 June 2011 00:56, Pasquale Puzio <pasquale.puzio at gmail.com> wrote:
> > Hi all,
> > I need to add some actions when a user logs in, I've checked WordPress
> > documentation but the page about this action is not complete yet.
> > Anyone has a code example about this action?
> The action you need is wp_login which passes the user's login as the
> first parameter.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers