WC_REST_Customers_V1_Controller
REST API Customers controller class.
Description Description
Source Source
File: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
Methods Methods
- batch_items_permissions_check — Check if a given request has access batch create, update and delete items.
- create_item — Create a single customer.
- create_item_permissions_check — Check if a given request has access create customers.
- delete_item — Delete a single customer.
- delete_item_permissions_check — Check if a given request has access delete a customer.
- get_collection_params — Get the query params for collections.
- get_item — Get a single customer.
- get_item_permissions_check — Check if a given request has access to read a customer.
- get_item_schema — Get the Customer's schema, conforming to JSON Schema.
- get_items — Get all customers.
- get_items_permissions_check — Check whether a given request has permission to read customers.
- get_role_names — Get role names.
- prepare_item_for_response — Prepare a single customer output for response.
- prepare_links — Prepare links for the request.
- register_routes — Register the routes for customers.
- update_customer_meta_fields — Update customer meta fields.
- update_item — Update a single user.
- update_item_permissions_check — Check if a given request has access update a customer.