LLMS_REST_Webhook::enqueue()
Add actions for all the webhooks hooks
Contents
Return Return
(void)
Source Source
File: libraries/lifterlms-rest/includes/models/class-llms-rest-webhook.php
public function enqueue() {
foreach ( $this->get_hooks() as $hook => $args ) {
add_action( $hook, array( $this, 'process_hook' ), 10, $args );
}
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0-beta.1 | Introduced. |