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.
Email * (will not be published)
© Copyright 2014 M. Ritter
Twitter / Last.fm