HEX
Server: Apache
System: Linux sxb1plmcpnl510113.prod.sxb1.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
User: acnbijigo78q (10488831)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/acnbijigo78q/public_html/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 );
    }


}