[wp-hackers] New filters: query_string, the_posts, posts_where

Ryan Boren ryan at boren.nu
Sun Jun 20 20:08:55 UTC 2004


The attached diff adds a query_string filter to wp-blog-header.php so
that the query string can be manipulated before it is passed to
query_posts().

The posts_where filter allows manipulation of $where before it is used
in the SELECT in query_posts().

the_posts allows manipulation of the $posts array before it is returned
from query_posts().

-------------- next part --------------
A non-text attachment was scrubbed...
Name: post_query_filters.diff
Type: text/x-patch
Size: 1248 bytes
Desc: not available
Url : /pipermail/hackers_wordpress.org/attachments/20040620/83a8ad70/post_query_filters.bin


More information about the hackers mailing list