Clanbite Since 1.6.0
class License_Restclanbite/v1/admin/license (read), …/activate, …/deactivate and …/refresh, for administrators only (same capability as the other clanbite/v1/admin/* routes, filter clanbite_admin_rest_manage_capability). The licence key is accepted on activate and is never returned.
class final
- Full name
Kernowdev\Clanbite\Updates\License_Rest
Methods
activate()POST activate.can_manage()Permission callback.register_routes()Register the routes.register()Register hooks.
Defined in inc/updates/class-license-rest.php
Changelog
| Version | Description |
|---|---|
| 1.6.0 | Introduced. |