[wp-hackers] pre_get_posts problem

Aaron Jorbin aaron at jorb.in
Wed Jul 21 20:35:07 UTC 2010


On Wed, Jul 21, 2010 at 4:11 PM, scribu <scribu at gmail.com> wrote:


> I think the reason it's recommended often is that people usually start
> looking into the WP_Query class first and 'pre_get_posts' looks like the
> right place to hook into.
>

It is a very enticing name, and most of the articles related to Custom Post
types I've seen recommend using it.  I think we need to do some better
eduction and getting the word out on the other, more appropriate filters.


http://aaron.jorb.in
twitter: twitter.com/aaronjorbin


More information about the wp-hackers mailing list