[wp-hackers] User login action

Philip M. Hofer (Frumph) philip at frumph.net
Tue Jun 14 00:10:53 UTC 2011

add_action('set_current_user', 'my_plugin_intercept_when_user_logs_in');

function my_plugin_intercept_when_user_logs_in'() {
    echo "Do Something";

-----Original Message----- 
From: Pasquale Puzio 
Sent: Monday, June 13, 2011 4:56 PM 
To: wp-hackers at lists.automattic.com 
Subject: [wp-hackers] User login action 

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?


Dott. Pasquale Puzio
info at pasqualepuzio.it
340 5026359
wp-hackers mailing list
wp-hackers at lists.automattic.com

More information about the wp-hackers mailing list