Tribe__PUE__Checker::is_network_licensed()
Whether the plugin is network activated and licensed or not.
Return
(bool)
Source
File: src/Tribe/PUE/Checker.php
public function is_network_licensed() {
$is_network_licensed = false;
if ( ! is_network_admin() && $this->is_plugin_active_for_network() ) {
$network_key = $this->get_key( 'network' );
$local_key = $this->get_key( 'local' );
// Check whether the network is licensed and NOT overridden by local license
if ( $network_key && ( empty( $local_key ) || $local_key === $network_key ) ) {
$is_network_licensed = true;
}
}
return $is_network_licensed;
}