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


Lines:

1 to 39 of 39
<?php

/**
 * REST API: WP_REST_Users_Controller class
 *
 * @package WordPress
 * @subpackage REST_API
 * @since 4.7.0
 */

/* class WP_REST_Users_Controller */
/* function WP_REST_Users_Controller::__construct() – Constructor. */
/* function WP_REST_Users_Controller::register_routes() – Registers the routes for the objects of the controller. */
/* function WP_REST_Users_Controller::check_reassign() – Checks for a valid value for the reassign parameter when deleting users. */
/* function WP_REST_Users_Controller::get_items_permissions_check() – Permissions check for getting all users. */
/* function WP_REST_Users_Controller::get_items() – Retrieves all users. */
/* function WP_REST_Users_Controller::get_user() – Get the user, if the ID is valid. */
/* function WP_REST_Users_Controller::get_item_permissions_check() – Checks if a given request has access to read a user. */
/* function WP_REST_Users_Controller::get_item() – Retrieves a single user. */
/* function WP_REST_Users_Controller::get_current_item() – Retrieves the current user. */
/* function WP_REST_Users_Controller::create_item_permissions_check() – Checks if a given request has access create users. */
/* function WP_REST_Users_Controller::create_item() – Creates a single user. */
/* function WP_REST_Users_Controller::update_item_permissions_check() – Checks if a given request has access to update a user. */
/* function WP_REST_Users_Controller::update_item() – Updates a single user. */
/* function WP_REST_Users_Controller::update_current_item_permissions_check() – Checks if a given request has access to update the current user. */
/* function WP_REST_Users_Controller::update_current_item() – Updates the current user. */
/* function WP_REST_Users_Controller::delete_item_permissions_check() – Checks if a given request has access delete a user. */
/* function WP_REST_Users_Controller::delete_item() – Deletes a single user. */
/* function WP_REST_Users_Controller::delete_current_item_permissions_check() – Checks if a given request has access to delete the current user. */
/* function WP_REST_Users_Controller::delete_current_item() – Deletes the current user. */
/* function WP_REST_Users_Controller::prepare_item_for_response() – Prepares a single user output for response. */
/* function WP_REST_Users_Controller::prepare_links() – Prepares links for the user request. */
/* function WP_REST_Users_Controller::prepare_item_for_database() – Prepares a single user for creation or update. */
/* function WP_REST_Users_Controller::check_role_update() – Determines if the current user is allowed to make the desired roles change. */
/* function WP_REST_Users_Controller::check_username() – Check a username for the REST API. */
/* function WP_REST_Users_Controller::check_user_password() – Check a user password for the REST API. */
/* function WP_REST_Users_Controller::get_item_schema() – Retrieves the user’s schema, conforming to JSON Schema. */
/* function WP_REST_Users_Controller::get_collection_params() – Retrieves the query params for collections. */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,,