LD_REST_Posts_Controller_V1
Contents
Description #
Source #
File: includes/rest-api/v1/class-ld-rest-posts-controller.php
Methods #
- __construct
- ld_get_field_value
- ld_rest_validate_request_arg
- ld_update_field_value
- register_fields
- register_routes_wpv2
- 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. This is needed when Course Shared Steps is enabled.
- rest_query_filter