is_dozent_dashboard()

Determine if current page is Dozent Dashboard


Description

Example usage:

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

See also


Return

(bool)


Source

File: includes/conditional-functions.php

	function is_dozent_dashboard() {
		$page_id = dozent_get_dashboard_page_id();
		if ( $page_id && is_page( $page_id ) ) {
			return true;
		}

		return false;
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.