Tribe__PUE__Checker::is_key_valid()

Gets whether the license key is valid or not.

Contents


Source

File: src/Tribe/PUE/Checker.php

		public function is_key_valid() {
			// @todo remove transient in a major feature release where we release all plugins.
			$status = get_transient( $this->pue_key_status_transient_name );

			if ( empty( $status ) ) {
				$status = get_option( $this->pue_key_status_option_name, 'invalid' );
			}

			return 'valid' === $status;
		}

Top ↑

Changelog

Changelog
Version Description
4.14.9 Introduced.