Make WordPress Core

Opened 5 years ago

#49057 new feature request

Add tag for any WP_Query for simple access in pre_get_post action

Reported by: hamedmoodi's profile hamedmoodi Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Query Keywords:
Focuses: Cc:

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.