LLMS_REST_Webhooks_Controller::get_object( int $id, bool $hydrate = true )
Retrieve An Webhook object by ID.
Description Description
Parameters Parameters
- $id
-
(Required) Webhook ID.
- $hydrate
-
(Optional) If true, pulls all key data from the database on instantiation.
Default value: true
Return Return
(WP_Error|LLMS_REST_API_Key)
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-webhooks-controller.php
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.3 | Introduced. |