[wp-hackers] bypassing the wordpress query

denis at semiologic.com denis at semiologic.com
Mon Apr 18 20:13:46 GMT 2005


i think it would be interesting to add a plugin hook on the entire query string
immediately before the query occurs, in addition to the results. the best i
found at the moment was to use a 1 = 0 where clause to bypass the wordpress
query, and to use the the_posts hook to toss in the results of a new query done
"the right way".

--
Denis
http://www.semiologic.com

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


More information about the wp-hackers mailing list