<?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); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
PluginUpgrader.php | File | 2.25 KB | 0664 |
|
WpConstants.php | File | 642 B | 0664 |
|
WpFuncs.php | File | 8.55 KB | 0664 |
|
WpQuery.php | File | 1.03 KB | 0664 |
|
WpTextdomainRegistry.php | File | 1.02 KB | 0664 |
|
Wpdb.php | File | 1.11 KB | 0664 |
|