WC_REST_System_Status_Tools_V2_Controller
System status tools controller.
Description Description
Source Source
File: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
Methods Methods
- execute_tool — Actually executes a tool.
- get_collection_params — Get any query params needed.
- get_item — Return a single tool.
- get_item_permissions_check — Check whether a given request has permission to view a specific system status tool.
- get_item_schema — Get the system status tools schema, conforming to JSON Schema.
- get_items — Get a list of system status tools.
- get_items_permissions_check — Check whether a given request has permission to view system status tools.
- get_printable_callback_name — Get a printable name for a callback.
- get_tools — A list of available tools for use in the system status section.
- prepare_item_for_response — Prepare a tool item for serialization.
- prepare_links — Prepare links for the request.
- register_routes — Register the routes for /system_status/tools/*.
- update_item — Update (execute) a tool.
- update_item_permissions_check — Check whether a given request has permission to execute a specific system status tool.