LLMS_Lesson::has_content()
Get whether the lesson has a content set
Contents
Return Return
(boolean)
Source Source
File: includes/models/model.llms.lesson.php
public function has_content() {
if ( ! empty( $this->post->post_content ) ) {
return true;
} else {
return false;
}
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| unknown | Introduced. |