LLMS_REST_Webhooks::get_statuses()
Retrieves a list of webhook statuses.
Return Return
(array)
Source Source
File: libraries/lifterlms-rest/includes/class-llms-rest-webhooks.php
public function get_statuses() { /** * Filter the available webhook statuses. * * @since 1.0.0-beta.1 * * @param array $statuses Array of statuses. */ return apply_filters( 'llms_rest_webhook_statuses', array( 'active' => __( 'Active', 'lifterlms' ), 'paused' => __( 'Paused', 'lifterlms' ), 'disabled' => __( 'Disabled', 'lifterlms' ), ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |