WC_REST_Webhooks_V1_Controller
REST API Webhooks controller class.
Description Description
Source Source
File: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-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 webhook.
- create_item_permissions_check — Check if a given request has access create webhooks.
- delete_item — Delete a single webhook.
- delete_item_permissions_check — Check if a given request has access delete a webhook.
- get_collection_params — Get the query params for collections of attachments.
- get_default_api_version — Get the default REST API version.
- get_item — Get a single item.
- get_item_permissions_check — Check if a given request has access to read a webhook.
- get_item_schema — Get the Webhook's schema, conforming to JSON Schema.
- get_items — Get all webhooks.
- get_items_permissions_check — Check whether a given request has permission to read webhooks.
- prepare_item_for_database — Prepare a single webhook for create or update.
- prepare_item_for_response — Prepare a single webhook output for response.
- prepare_links — Prepare links for the request.
- register_routes — Register the routes for webhooks.
- update_item — Update a single webhook.
- update_item_permissions_check — Check if a given request has access update a webhook.