[wp-hackers] Alternative to posts_where hook

Michael D Adams mda at blogwaffe.com
Tue Aug 10 03:46:38 UTC 2010

On Mon, Aug 9, 2010 at 8:34 PM, Rich ZenMaster <richzenmaster at gmail.com> wrote:
> http://wpseek.com/hook/posts_where/

I don't know why this site marks posts_where as deprecated.

> http://adambrown.info/p/wp_hooks/hook/posts_where

This claims posts_where is not in 3.0, but it is:

I think if you can use WP_Query's query variables for your query, you
should, but posts_where is here to stay as far as I know.  It'd break
a lot of stuff [1] if it were ever removed.

[1] http://www.google.com/search?q=posts_where+site:http://plugins.svn.wordpress.org/


More information about the wp-hackers mailing list