LLMS_Instructor::toArray()
Used by exporter / cloner to get instructor data
Contents
Return Return
(array)
Source Source
File: includes/models/model.llms.instructor.php
public function toArray() {
return array(
'description' => $this->get( 'description' ),
'email' => $this->get( 'user_email' ),
'first_name' => $this->get( 'first_name' ),
'id' => $this->get_id(),
'last_name' => $this->get( 'last_name' ),
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.30.3 | Renamed "descrpition" key to "description". |
| 3.16.11 | Introduced. |