[wp-hackers] [help] sink plugin hooks for $this

David House dmhouse at gmail.com
Fri Jan 13 23:49:39 GMT 2006

On 13/01/06, Niels Hackius <niels.hackius at gmail.com> wrote:
> this way however it doesn't:
> $test = new loadbalancer();
> add_action('activate_samba/loadbalancer.php', array(&$test, 'installer'));

If $test is a global variable that should work.

-David House, dmhouse at gmail.com, http://xmouse.ithium.net

More information about the wp-hackers mailing list