[wp-hackers] [help] sink plugin hooks for $this references inWordPress 2.0 ?

David Chait davebytes at comcast.net
Fri Jan 13 21:22:00 GMT 2006


except that there's this weird 'activate_******' automatic hook for when a 
plugin is activated (and one for deactivation too).

but the >format< for naming that hook properly isn't clear in the slightest. 
sample code would be useful here.  I looked quickly, didn't see anything 
referencing it that'd help.

-d

----- Original Message ----- 
From: "Owen Winkler" <ringmaster at midnightcircus.com>
To: <wp-hackers at lists.automattic.com>
Sent: Friday, January 13, 2006 4:03 PM
Subject: Re: [wp-hackers] [help] sink plugin hooks for $this references 
inWordPress 2.0 ?


| Niels Hackius wrote:
|
| > 
add_action('activate_samba/loadbalancer.php',array(&$lbnh_installer_reference,"installer"));
|
| The first parameter of add_action() or add_filter() should be a valid
| plugin hook name.
|
| See http://wphooks.flatearth.org/
|
| Owen
|
| _______________________________________________
| 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