Make WordPress Core

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

Change History (0)

Note: See TracTickets for help on using tickets.