Filter collection parameters for the users controller.
WP_REST_Users_Controller::get_item_schema
Retrieves the user’s schema, conforming to JSON Schema.
WP_REST_Users_Controller::get_collection_params
Retrieves the query params for collections.
WP_REST_Users_Controller::check_user_password
Check a user password for the REST API.
Advertisement
WP_REST_Users_Controller::check_username
Check a username for the REST API.
WP_REST_Users_Controller::check_role_update
Determines if the current user is allowed to make the desired roles change.
WP_REST_Users_Controller::prepare_item_for_database
Prepares a single user for creation or update.
rest_pre_insert_user
Filters user data before insertion via the REST API.
Advertisement
rest_prepare_user
Filters user data returned from the REST API.
WP_REST_Users_Controller::prepare_links
Prepares links for the user request.
WP_REST_Users_Controller::delete_current_item
Deletes the current user.
WP_REST_Users_Controller::prepare_item_for_response
Prepares a single user output for response.
Advertisement
WP_REST_Users_Controller::delete_current_item_permissions_check
Checks if a given request has access to delete the current user.
rest_delete_user
Fires immediately after a user is deleted via the REST API.
WP_REST_Users_Controller::delete_item
Deletes a single user.