LD_REST_Essays_Controller_V2
Class LearnDash REST API V2 Essays Post Controller.
Description #
Source #
File: includes/rest-api/v2/class-ld-rest-essays-controller.php
Changelog #
Version | Description |
---|---|
3.3.0 | Introduced. |
Methods #
- __construct — Public constructor for class
- get_essay_post_data — Initialize the essay Post data elements used by many class functions.
- get_item_permissions_check — Check user permission to get/access single item.
- get_items_permissions_check — Check user permission to get/access items.
- get_public_item_schema — Gets public schema.
- 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.
- register_routes — Registers the routes for the objects of the controller.
- rest_collection_params_filter — Add our collection parameters.
- rest_prepare_response_filter — Override the REST response links. This is needed when Course Shared Steps is enabled.
- rest_query_filter — Filter essays query args.
- update_rest_settings_field_value — Update REST Settings Field value.