New User Related Short Circuit Filters
WordPress 5.1 introduces new short circuit filters to WP_User_Query and count_users(). The users_pre_query filter was introduced in #44373 and runs before the database query takes place. This enables short-circuiting the database query entirely to return custom results. Returning a non-null value from the filter will bypass WordPress’s default user query (similar to the posts_pre_query filter … Continue reading New User Related Short Circuit Filters
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed