[wp-trac] [WordPress Trac] #49057: Add tag for any WP_Query for simple access in pre_get_post action
WordPress Trac
noreply at wordpress.org
Sat Dec 21 04:54:24 UTC 2019
#49057: Add tag for any WP_Query for simple access in pre_get_post action
-----------------------------+-----------------------------
Reporter: hamedmoodi | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
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
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49057>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list