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