HEX
Server: Apache
System: Linux vmi687175.contaboserver.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: iphonesused.com_3z513n4a6ll (10008)
PHP: 8.3.30
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/iphonesused.com/httpdocs/wp-content/plugins/templately/includes/Utils/Database.php
<?php

namespace Templately\Utils;

class Database extends Base {

    /**
     * Set transient to options table
     *
     * @since 2.0.0
     *
     * @param string $key
     * @param mixed $value
     * @param int $expiration
     *
     * @return bool
     */
    public static function set_transient( $key, $value, $expiration = DAY_IN_SECONDS ) {
        $key = '_templately_' . trim( $key );
        return set_transient( $key, $value, $expiration );
    }

    /**
     * Get transient data from options table.
     *
     * @since 2.0.0
     * @param string $key
     *
     * @return mixed
     */
    public static function get_transient( $key ) {
        $key = '_templately_' . trim( $key );
        return get_transient( $key );
    }


}