LLMS_REST_Instructors_Controller::get_item_schema()

Get the item schema.


Return Return

(array)


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/server/class-llms-rest-instructors-controller.php

146
147
148
149
150
151
152
153
154
public function get_item_schema_base() {
 
    $schema = parent::get_item_schema_base();
 
    $schema['properties']['roles']['default'] = array( 'instructor' );
 
    return $schema;
 
}


Top ↑

Changelog Changelog

Changelog
Version Description
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.