LLMS_REST_Webhooks_Controller
Description Description
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-webhooks-controller.php
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.3 | Introduced. |
Methods Methods
- check_permissions — Check if the authenticated user can perform the request action.
- create_item_permissions_check — Check if a given request has access to create an item.
- create_object — Insert the prepared data into the database.
- delete_item_permissions_check — Check if a given request has access to delete an item.
- delete_object — Delete the object.
- get_collection_params — Retrieves the query params for the objects collection.
- get_item_permissions_check — Check if a given request has access to read an item.
- get_item_schema — Get the Webhook's schema, conforming to JSON Schema.
- get_items_permissions_check — Check if a given request has access to read items.
- get_object — Retrieve An Webhook object by ID.
- get_objects_from_query — Retrieve an array of objects from the result of $this->get_objects_query().
- get_objects_query — Retrieve a query object based on arguments from a `get_items()` (collection) request.
- get_pagination_data_from_query — Retrieve pagination information from an objects query.
- map_schema_to_database — Map request keys to database keys for insertion.
- prepare_object_for_response — Prepare an object for response.
- update_item — Update an Webhook
- update_item_permissions_check — Check if a given request has access to update an item.