[wp-hackers] add_action arrays?

Stephen Rider wp-hackers at striderweb.com
Wed Sep 23 13:01:30 UTC 2009


On Sep 23, 2009, at 7:00 AM, Thomas Belknap wrote:

> I've seen a few plugins and bits of code internal to WordPress use the
> following convention:
>
> add_action('pre_get_posts', array(&$this, 'postFilter'));
>
> But this usage is not documented anywhere?

<http://striderweb.com/nerdaphernalia/2008/07/use-classes-in-your-wordpress-plugins/ 
 >

Regards,

-- 
Stephen Rider
http://striderweb.com/






More information about the wp-hackers mailing list