LLMS_Lesson::has_content()

Get whether the lesson has a content set


Return Return

(boolean)


Top ↑

Source Source

File: includes/models/model.llms.lesson.php

	public function has_content() {
		if ( ! empty( $this->post->post_content ) ) {
			return true;
		} else {
			return false;
		}
	}

Top ↑

Changelog Changelog

Changelog
Version Description
unknown Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.