is_dozent_course_archive()

Check if you browsing right now course archive


Description

returns true if you are on the Dozent Course archive page. It will return true also when you browse archive page via selected page, or dozent course category.

Example usage:

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

See also


Return

(bool)


Source

File: includes/conditional-functions.php

	function is_dozent_course_archive() {

		return is_post_type_archive( 'dozent_course' ) || is_dozent_course_taxonomy_archive() || is_dozent_course_archive_page();
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.