Loading...
March 14, 2012#

Under The Hood Addition to WordPress 3.1.1

is_main_query()

This handy method has been added to the WordPress core, and will tell you if a WP_Query object is the main WordPress query or a secondary query. You read more about it in the WordPress codex.

Leave a Comment