is_dozent_profile_page()

Determines whether the query is for an existing dozent user profile page.


Description

Works for any user.

Example usage:

$page = is_dozent_profile_page();

See also


Return

(bool)


Source

File: includes/conditional-functions.php

	function is_dozent_profile_page() {

		$is_profile = dozent_query_vars( 'dozent_profile_username' );
		if ( $is_profile ) {
			return true;
		}

		return false;
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.