AbstractRestController
Base class for custom REST routes.
- Full name:
\CEKW\WpPlugin\AbstractRestController
Table of contents
Methods
permissionCheck
Checks if the user can perform the action (reading, updating, etc) before the real callback is called.
AbstractRestController::permissionCheck(): bool|\WP_Error
Returns: bool|\WP_Error
getArgs
Defines arguments for the route.
AbstractRestController::getArgs(): array
Returns: array