LD_REST_Topics_Controller_V2
Class LearnDash V2 REST API Topics Post Controller.
Description #
Source #
File: includes/rest-api/v2/class-ld-rest-topics-controller.php
Changelog #
Version | Description |
---|---|
3.3.0 | Introduced. |
Methods #
- __construct — Public constructor for class
- get_item_permissions_check — Check user permission to get/access single Topic.
- get_items_permissions_check — Check user permission to get/access Lessons.
- get_public_item_schema — Gets public schema.
- register_fields — Prepare the LearnDash Post Type Settings.
- register_fields_metabox — Register the Settings Fields from the Post Metaboxes.
- rest_collection_params_filter — For LearnDash post type we override the default order/orderby to ASC/title instead of the WP default DESC/date.
- rest_query_filter — Filter query args.