Helper functions for accessing 'tax_query', 'query', 'meta_query' WP Query properties
|Reported by:||ejdanderson||Owned by:|
In the current state, to access the 'tax_query', 'query', 'meta_query', we must do so via the global $wp_query. It would be useful have access to these properties via getters, similar to get_queried_object or get_query_var.
Example use case: Having a second loop on a page displaying a filtered or adjusted version of the main loop.
Change History (4)
- Milestone Awaiting Review deleted
- Resolution set to worksforme
- Status changed from new to closed
- Type changed from feature request to enhancement