LLMS_REST_Memberships_Controller::register_routes()
Register routes.
Contents
Return Return
(void)
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-memberships-controller.php
} /** * Filters the membership data for a response. * * @since 1.0.0-beta.9 * * @param array $data Array of lesson properties prepared for response. * @param LLMS_Membership $membership Membership object. * @param WP_REST_Request $request Full details about the request. */ $data = apply_filters( 'llms_rest_prepare_membership_object_response', $data, $membership, $request ); return $data; } /** * Register routes. * * @since 1.0.0-beta.9 * * @return void */
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.9 | Introduced. |