is_dozent()

Check if any page has Dozent LMS content


Description

This function return true when any page, any area, any screen in the frontend has Dozent LMS content It could be archive page, dozent course page, dashboard page, course category archive page

Example usage:

if( is_dozent() ){
     //code goes here.
}

See also


Return

(bool)


Source

File: includes/conditional-functions.php

	function is_dozent() {
		return apply_filters( 'is_dozent',
			is_dozent_course_taxonomy_archive()
			|| is_dozent_course()
			|| is_dozent_dashboard()
			|| is_dozent_course_archive()
			|| is_dozent_profile_page()
			|| is_dozent_single_lecture()
			|| is_dozent_single_quiz()
		);
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.