HEX
Server: Apache/2.4.65 (Debian)
System: Linux wordpress-7cb4c6b6f6-6vpsl 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: www-data (33)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/jet-menu/includes/modules/jet-cache/inc/functions.php
<?php
/**
 * @param $transient
 * @param $value
 * @param int $expiration
 *
 * @return mixed
 */
function jet_set_transient( $key = false, $data = false, $expiration = 0, $source_id = 0, $source = 'default' ) {
	return \Jet_Cache\Manager::get_instance()->db_manager->set_cache( $key, $data, $expiration, $source_id, $source );
}

/**
 * @param $transient
 *
 * @return false|mixed
 */
function jet_get_transient( $key = false, $default = false ) {
	return \Jet_Cache\Manager::get_instance()->db_manager->get_cache( $key, $default );
}