[wp-hackers] Best practice for early access of post data

Mike Schinkel mikeschinkel at newclarity.net
Sun Sep 18 01:17:52 UTC 2011


On Sep 17, 2011, at 8:54 PM, Claude Needham wrote:
> Is there a proper way to get a peek at the data from the post(s)
> without messing up the loop -- and who knows how many plugins and
> filters?

The 'posts_results' hook will show you the array of posts and the query object immediately after it runs the query.  Does that help?

-Mike 



More information about the wp-hackers mailing list