wpseek.com
A WordPress-centric search engine for devs and theme authors
query_vars › WordPress Filter Hooks
Since1.5.0
Deprecatedn/a
› apply_filters( 'query_vars', $this->public_query_vars )
Parameters: |
|
Defined at: |
|
Codex: |
Filters the query variables allowed before processing.
Allows (publicly allowed) query vars to be added, removed, or changed prior to executing the query. Needed to allow custom rewrite rules using your own arguments to work, or any other custom query variables you want to be publicly available.
Related Functions: get_query_var, set_query_var, add_query_arg, query_posts, remove_query_arg, user_can