is_lesson()

Determine if current post is a lifterLMS Lesson


Return Return

(boolean)


Top ↑

Source Source

File: includes/functions/llms-functions-conditional-tags.php

	function is_lesson() {
		return is_singular( array( 'lesson' ) );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.37.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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