LLMS_REST_Posts_Controller::handle_status_param( string $status )
Determines validity and normalizes the given status parameter.
Description Description
Heavily based on WP_REST_Posts_Controller::handle_status_param().
Parameters Parameters
- $status
-
(Required) Status.
Return Return
(string|WP_Error) Status or WP_Error if lacking the proper permission.
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.18 | Use plural post type name. |
1.0.0-beta.1 | Introduced. |