Opened 7 years ago
#49057 new feature request
Add tag for any WP_Query for simple access in pre_get_post action
| Reported by: | hamedmoodi | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Query | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
At current time it is difficult for find out which query is running at pre_get_post action
I offer add extra property to WP_Query as tag-name.
by this way i simply find out which query is running just by custom tag that added in any WP_Query object
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)