[wp-hackers] User login action
Travis Northcutt
travis at travisnorthcutt.com
Tue Jun 14 14:13:19 UTC 2011
Please consider adding the information you learn to the Codex page, to make
it better for those searching for similar information in the future.
--
Travis Northcutt
On Tue, Jun 14, 2011 at 3:38 AM, Pasquale Puzio <pasquale.puzio at gmail.com>wrote:
> Thank you very much for your help.
> Now I exactly know which function I should use.
>
> 2011/6/14 Leo Baiano <ljunior2005 at gmail.com>:
> > Oops, I made a mistake, what this function is obsolete wp_login (), the
> > action wp_loginstill alive and that's exactly what you need, John was
> right
> > from the beginning, a thousand apologies.
> >
> > 2011/6/13 Leo Baiano <ljunior2005 at gmail.com>
> >
> >> 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
> >>> http://lists.automattic.com/mailman/listinfo/wp-hackers
> >>>
> >>
> >>
> >>
> >> --
> >> Amplexos,
> >>
> >> Leo Baiano
> >> http://www.leobaiano.com
> >> http://www.blog.ljunior.com
> >> http://www.mcelebridades.com
> >> http://www.twitter.com/leobaiano
> >>
> >
> >
> >
> > --
> > Amplexos,
> >
> > Leo Baiano
> > http://www.leobaiano.com
> > http://www.blog.ljunior.com
> > http://www.mcelebridades.com
> > http://www.twitter.com/leobaiano
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
>
>
>
> --
> Dott. Pasquale Puzio
> http://www.pasqualepuzio.it
> info at pasqualepuzio.it
> 340 5026359
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list