LD_REST_Users_Controller_V2
Class LearnDash V2 REST API User Controller.
Description #
Source #
File: includes/rest-api/v2/class-ld-rest-users-controller.php
Changelog #
Version | Description |
---|---|
3.3.0 | Introduced. |
Methods #
- __construct — Protected constructor for class
- get_rest_base — Get the REST URL setting.
- is_rest_request — Check if REST Request is for this version/route.
- register_routes — Registers the routes for the objects of the controller.
- 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 User REST response links.
- rest_query_filter — Filter Users query args.