#52069 closed feature request (duplicate)
Define ID for any query
Reported by: | hamedmoodi | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.7 |
Component: | Query | Keywords: | |
Focuses: | Cc: |
Description
I use many custom wp_query in my website,
Now when I want to use 'pre_get_posts' for filter custom wp_queries, i have problem in determine target query with conditional tag such is_main_query, is_font_page, ...
I think if we determine ID for each custom wp_query some problem for determine target query will solved
Change History (1)
Note: See
TracTickets for help on using
tickets.
Hi there, welcome to WordPress Trac!
Thanks for the report, we're already tracking this enhancement in #23833 and #17019.