is_dozent_course_archive_page()

Determine if current singular page selected as course archive page.


Description

Example usage:

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

See also


Return

(bool)


Source

File: includes/conditional-functions.php

	function is_dozent_course_archive_page() {
		$page_id = dozent_course_archive_page_id();

		if ( $page_id && is_page( $page_id ) ){
			return true;
		}

		return false;
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.