LD_REST_Topics_Controller_V2
Description Description
Source Source
File: includes/rest-api/v2/class-ld-rest-topics-controller.php
Methods 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.