[wp-hackers] User login action

Pasquale Puzio pasquale.puzio at gmail.com
Tue Jun 14 08:38:35 UTC 2011


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


More information about the wp-hackers mailing list