[wp-trac] [WordPress Trac] #44169: New filter to short circuit WP_User_Query results
WordPress Trac
noreply at wordpress.org
Mon May 21 01:52:16 UTC 2018
#44169: New filter to short circuit WP_User_Query results
-------------------------+-----------------------------
Reporter: tlovett1 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
#41700 added the filter `posts_pre_query` to WP_Query. This filter lets
you short circuit the WP_Query MySQL query to return your own results. We
use this filter in ElasticPress to return results from Elasticsearch
instead of MySQL.
This ticket (patch incoming) is to add a similar filter to WP_User_Query.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44169>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list