Tribe__PUE__Checker::should_show_subsite_editable_license()

Whether the user should be shown the fully editable subsite license field or not.

Contents

This check will happen in the context of the plugin administration area; checks on the user capability to edit the plugin settings have been made before.


Return

(bool)


Top ↑

Source

File: src/Tribe/PUE/Checker.php

		public function should_show_subsite_editable_license() {
			if ( ! is_multisite() ) {
				return true;
			}

			if ( is_network_admin() ) {
				return false;
			}

			if ( $this->is_plugin_active_for_network() && ! is_super_admin() ) {
				return false;
			}

			return true;
		}