[wp-hackers] Add a Filter or use new PRIVATE status (WP2.1)
chris.hearn01 at ntlworld.com
Wed Mar 14 09:53:31 GMT 2007
I have tried that on the index page, that works, adding (cat=-4), but
the calendar plugin, recent events etc listed in my sidebar are unaffected..
> Chris wrote:
>> b) adding some sort of filter that filters out everything in
>> cat=members if user not logged in
>> But where to attach this filter to have global impact and work with
>> the plugins? assuming I can make the filter in the first place!
> use the the_posts filter, it is ran before the loop and receives all
> posts as an array.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers