[wp-hackers] Add a Filter or use new PRIVATE status (WP2.1)

Sabin Iacob iacobs at m0n5t3r.info
Wed Mar 14 09:42:24 GMT 2007


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.



More information about the wp-hackers mailing list