LLMS_REST_Webhooks_Controller::create_object( array $prepared, WP_REST_Request $request )
Insert the prepared data into the database.
Parameters Parameters
- $prepared
-
(array) (Required) Prepared item data.
- $request
-
(WP_REST_Request) (Required) Request object.
Return Return
(obj) Object Instance of object from $this->get_object().
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-webhooks-controller.php
protected function create_object( $prepared, $request ) { return LLMS_REST_API()->webhooks()->create( $prepared ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.3 | Introduced. |