LLMS_REST_Webhooks_Controller::get_collection_params()
Retrieves the query params for the objects collection.
Return Return
(array) Collection parameters.
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-webhooks-controller.php
public function get_collection_params() { $params = parent::get_collection_params(); $params['status'] = array( 'description' => __( 'Include only webhooks matching a specific status.', 'lifterlms' ), 'type' => 'string', 'enum' => array_keys( LLMS_REST_API()->webhooks()->get_statuses() ), ); return $params; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.3 | Introduced. |