403Webshell
Server IP : 54.36.91.62  /  Your IP : 216.73.216.15
Web Server : Apache
System : Linux webm021.cluster127.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : uxhactp ( 169076)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/uxhactp/www/wp-content/plugins/visualcomposer/visualcomposer/Helpers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/uxhactp/www/wp-content/plugins/visualcomposer/visualcomposer/Helpers//Options.php
<?php

namespace VisualComposer\Helpers;

if (!defined('ABSPATH')) {
    header('Status: 403 Forbidden');
    header('HTTP/1.1 403 Forbidden');
    exit;
}

use VisualComposer\Framework\Illuminate\Support\Helper;

/**
 * Class Options.
 */
class Options implements Helper
{
    /**
     * @param $optionName
     * @param bool $default
     *
     * @return mixed
     */
    public function get($optionName, $default = false)
    {
        return get_option(VCV_PREFIX . $optionName, $default);
    }

    /**
     * @param $optionName
     * @param $value
     *
     * @return $this
     */
    public function set($optionName, $value)
    {
        update_option(VCV_PREFIX . $optionName, $value === false ? '' : $value);

        return $this;
    }

    /**
     * @param $optionName
     *
     * @return $this
     */
    public function delete($optionName)
    {
        delete_option(VCV_PREFIX . $optionName);

        return $this;
    }

    /**
     * @param $transient
     * @param $value
     * @param int $expiration
     *
     * @return $this
     */
    public function setTransient($transient, $value, $expiration = 0)
    {
        set_transient(VCV_PREFIX . VCV_VERSION . $transient, $value, $expiration);

        return $this;
    }

    /**
     * @param $transient
     *
     * @return $this
     */
    public function getTransient($transient)
    {
        return get_transient(VCV_PREFIX . VCV_VERSION . $transient);
    }

    /**
     * @param $transient
     *
     * @return $this
     */
    public function deleteTransient($transient)
    {
        delete_transient(VCV_PREFIX . VCV_VERSION . $transient);

        return $this;
    }

    /**
     * @param $optionName
     * @param $value
     *
     * @return $this
     */
    public function setUser($optionName, $value)
    {
        update_user_option(get_current_user_id(), VCV_PREFIX . $optionName, $value);

        return $this;
    }

    /**
     * @param $optionName
     * @param string $emptyResult
     *
     * @return mixed|string
     */
    public function getUser($optionName, $emptyResult = '')
    {
        $result = get_user_option(VCV_PREFIX . $optionName);
        if (empty($result)) {
            return $emptyResult;
        }

        return $result;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit