LLMS_REST_Webhooks::get_post_type_resources()
Retrieve an array of supported post types used as resources for webhooks.
Return Return
(string[])
Source Source
File: libraries/lifterlms-rest/includes/class-llms-rest-webhooks.php
public function get_post_type_resources() { /** * Filter the list of supported post types used as resources for webhooks. * * @param string[] $post_types Array of post type names. */ return apply_filters( 'llms_rest_get_post_type_resources', array( 'course', 'section', 'lesson', 'llms_membership', 'llms_access_plan', 'llms_order', 'llms_transaction', ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |