apply_filters( 'rest_user_query', array $prepared_args, WP_REST_Request $request )

Filters WP_User_Query arguments when querying users via the REST API.

Description Description

Parameters Parameters


(array) Array of arguments for WP_User_Query.


(WP_REST_Request) The current request.

Top ↑

Source Source

File: wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.