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.


Top ↑

Return Return

(string|WP_Error) Status or WP_Error if lacking the proper permission.


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-posts-controller.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.18 Use plural post type name.
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.