Tribe__PUE__Checker::is_key_validation_expired()
Gets whether or not the PUE key validation check is expired.
Source
File: src/Tribe/PUE/Checker.php
public function is_key_validation_expired() {
// If we have a transient, then we're good. Not expired.
// @todo remove transient in a major feature release where we release all plugins.
if ( get_transient( $this->pue_key_status_transient_name ) ) {
return false;
}
$option_expiration = get_option( "{$this->pue_key_status_option_name}_timeout", null );
return is_null( $option_expiration ) || ( time() > $option_expiration );
}
Changelog
| Version | Description |
|---|---|
| 4.14.9 | Introduced. |