Tribe__PUE__Checker::set_key_status_transient( int $valid )

Sets the key status transient based on the key validation check results.


Parameters

$valid

(int) (Required) 0 for invalid, 1 or 2 for valid.


Top ↑

Source

File: src/Tribe/PUE/Checker.php

		public function set_key_status_transient( $valid ) {
			$status = tribe_is_truthy( $valid ) ? 'valid' : 'invalid';
			set_transient( $this->pue_key_status_transient_name, $status, $this->check_period * HOUR_IN_SECONDS );
		}

Top ↑

Changelog

Changelog
Version Description
4.14.9 Introduced.