[wp-trac] [WordPress Trac] #29084: Add filter to modify user queries before building query

WordPress Trac noreply at wordpress.org
Fri Aug 1 16:16:17 UTC 2014


#29084: Add filter to modify user queries before building query
--------------------------+-----------------------------
 Reporter:  rmccue        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Users         |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 We have `pre_user_query`, but that runs after all of the SQL has been
 built. We need a corresponding filter for before the SQL has built. I
 propose `pre_get_users` to match `pre_get_posts`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29084>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list