HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/studis.kauko.lt/wp-content/plugins/the-events-calendar/common/src/functions/transient.php
<?php
/**
 * Functions, or polyfills, related to Transient data manipulation.
 *
 * @since 5.0.6
 */

if ( ! function_exists( 'tec_timed_option' ) ) {
	/**
	 * Checks if a file is from one of the specified plugins.
	 *
	 * @since 5.0.6
	 *
	 * @return \TEC\Common\Storage\Timed_Option
	 */
	function tec_timed_option(): \TEC\Common\Storage\Timed_Option {
		static $timed_option;

		if ( ! isset( $timed_option ) ) {
			$timed_option = tribe( \TEC\Common\Storage\Timed_Option::class );
		}

		return $timed_option;
	}
}