LD_REST_Questions_Controller_V2
Class LearnDash REST API V2 Quiz Questions Post Controller.
Description #
Source #
File: includes/rest-api/v2/class-ld-rest-questions-controller.php
Changelog #
Version | Description |
---|---|
3.3.0 | Introduced. |
Methods #
- __construct — Public constructor for class
- delete_item — Delete one item from the collection.
- get_items_permissions_check — Check user permission to get/access Quizzes.
- get_public_item_schema — Gets public schema.
- get_question_data — Get question data.
- get_rest_settings_field_value — Get REST Setting Field value.
- 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_prepare_response_filter — Override the REST response links.
- rest_query_filter — Filter Topics query args.
- update_item — Update one item from the collection