is_main_query [ WordPress Function ]
is_main_query ( No parameters )
| Returns: |
|
| Defined at: |
|
Benzer Fonksiyonlar: is_main_site, is_main_blog, _admin_search_query, self_admin_url, user_admin_url
Is the query the main query?
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- Function Reference/is main query « WordPress Codex
Description. This function enables someone to hook into `pre_get_posts` and modify *only* the main query. This is a boolean function, meaning it returns either ...
codex.wordpress.org - #18677 (is_main_query()) – WordPress Trac
Often times, it's very beneficial to check whether you're working with the main query. Examples might include operations on the pre_get_posts action.
core.trac.wordpress.org - New API in 3.3: is_main_query() « WordPress Development Updates
Dec 7, 2011 ... is_main_query(), the function, will return true if the current $wp_query is also the main query. (As an example, this would be false after ...
wpdevel.wordpress.com - is_main_query | Andrew Nacin
Dec 7, 2011 ... Last night, WordPress 3.3 Release Candidate 2 was released. As written in the release post, I think we're really close to a final release.
nacin.com