Tribe__Events__Community__Main::get_user_can_access_admin( int $user_id )

Get determination if the user has a role that allows access to the admin


Parameters

$user_id

(int) (Required)


Top ↑

Return

(bool)


Top ↑

Source

File: src/Tribe/Main.php

		public function get_user_can_access_admin( $user_id = 0 ) {
			if ( $this->user_can_access_admin( $user_id ) ) {
				return true;
			}

			return false;
		}

Top ↑

Changelog

Changelog
Version Description
4.5.9 Introduced.