LLMS_Lesson::set_title( string $title )
Set lesson title
Parameters Parameters
- $title
-
(string) (Required) The lesson title.
Return Return
(false|array) False if the title couldn't be updated. An array of the type array( 'id' => lesson id, 'title' => the new title, ) otherwise.
Source Source
File: includes/models/model.llms.lesson.php
public function set_title( $title ) {
return LLMS_Post_Handler::update_title( $this->id, $title );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| unknown | Introduced. |