LD_REST_Progress_Status_Controller_V2
Class LearnDash REST API V2 Progress Status Controller.
Description #
Source #
File: includes/rest-api/v2/class-ld-rest-progress-status-controller.php
Changelog #
Version | Description |
---|---|
3.4.0 | Introduced. |
Methods #
- __construct — Constructor.
- get_collection_params — Retrieves the query params for collections.
- get_item — Retrieves a specific price type.
- get_item_permissions_check — Checks if a given request has access to read a price type.
- get_item_schema — Retrieves the price type schema, conforming to JSON Schema.
- get_items — Retrieves all price types.
- get_items_permissions_check — Checks whether a given request has permission to read price type.
- get_rest_base — Get the REST URL setting.
- init_sets — Initialize the types dataset for use within the class.
- prepare_item_for_response — Prepares a price type object for serialization.
- register_routes — Registers the routes for the objects of the controller.