HEX
Server: LiteSpeed
System: Linux ws4.angoweb.net 5.14.0-611.13.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 11 04:57:59 EST 2025 x86_64
User: tswangoe (2287)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
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);
    }
}