May I know how to add_filter to the_posts in WordPress 3.0 Alpha?
currently I am using add_filter(‘the_posts’,array(&$this,’detectPost’));
in a plugin.
But it had stopped working due to the introduction of
$this->posts = apply_filters_ref_array(‘the_posts’, array( $this->posts, &$this ) );
- The topic ‘How to add_filter to the_posts in WordPress 3.0 Alpha?’ is closed to new replies.