LLMS_REST_Instructors_Controller::get_item_schema()
Get the item schema.
Return Return
(array)
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-instructors-controller.php
public function get_item_schema_base() {
$schema = parent::get_item_schema_base();
$schema['properties']['roles']['default'] = array( 'instructor' );
return $schema;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0-beta.1 | Introduced. |