HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //usr/local/lsws/add-ons/webcachemgr/src/WpWrapper/WpConstants.php
<?php

/** *********************************************
 * LiteSpeed Web Server Cache Manager
 *
 * @author    Michael Alegre
 * @copyright 2023 LiteSpeed Technologies, Inc.
 * @since     1.17
 * *******************************************
 */

namespace Lsc\Wp\WpWrapper;

/**
 * Wrapper class used to retrieve the value of WordPress core code specific
 * global constants.
 *
 * @since 1.17
 */
class WpConstants
{

    /**
     *
     * @since 1.17
     *
     * @param string $constantName
     *
     * @return mixed
     */
    public static function getWpConstant( $constantName )
    {
        return constant($constantName);
    }
}