LearnDash_REST_API
Class LearnDash REST API.
Description #
Source #
Changelog #
Version | Description |
---|---|
2.4.5 | Introduced. |
Methods #
- __construct — Public constructor for class
- check_registered_post_type — Check that the LearnDash custom post types are registered.
- enabled — Check if REST is enabled for post type.
- get_controller — Get REST controller for post type.
- get_instance — Returns the *Singleton* instance of this class.
- gutenberg_enabled — Check if Gutenberg editor is enabled for post type.
- rest_api_init — Init function to all the LearnDash REST API namespace and endpoints.
- this — Override class function for 'this'.