LD_REST_Quizzes_Controller_V2
Class LearnDash REST API V2 Quizzes Post Controller.
Description #
Source #
File: includes/rest-api/v2/class-ld-rest-quizzes-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 Quiz.
- get_items_permissions_check — Check user permission to get/access Quizzes.
- get_public_item_schema — Gets public schema.
- get_rest_settings_field_value — Get REST Setting Field value.
- init_quiz_edit — Initialize the ProQuiz Quiz being edited.
- register_fields — Prepare the LearnDash Post Type Settings.
- register_fields_metabox — Register the Settings Fields from the Post Metaboxes.
- rest_after_insert_action — Fires after a single post is completely created or updated via the REST API.
- 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 query args.