is_lesson()
Determine if current post is a lifterLMS Lesson
Return Return
(boolean)
Source Source
File: includes/functions/llms-functions-conditional-tags.php
function is_lesson() {
return is_singular( array( 'lesson' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.37.0 | Introduced. |