X7ROOT File Manager
Current Path:
/usr/local/lsws/add-ons/webcachemgr/src/WpWrapper
usr
/
local
/
lsws
/
add-ons
/
webcachemgr
/
src
/
WpWrapper
/
📁
..
📄
PluginUpgrader.php
(2.42 KB)
📄
WpConstants.php
(642 B)
📄
WpFuncs.php
(8.55 KB)
📄
WpQuery.php
(1.03 KB)
📄
WpTextdomainRegistry.php
(1.02 KB)
📄
Wpdb.php
(1.11 KB)
Editing: WpTextdomainRegistry.php
<?php /** ********************************************* * LiteSpeed Web Server Cache Manager * * @author Michael Alegre * @copyright 2023 LiteSpeed Technologies, Inc. * @since 1.17 * ******************************************* */ namespace Lsc\Wp\WpWrapper; /** * https://developer.wordpress.org/reference/classes/wp_textdomain_registry/ * * @since 1.17 */ class WpTextdomainRegistry { /** * @since 1.17 * @var \WP_Textdomain_Registry * * @noinspection PhpUndefinedClassInspection */ private $wpTextdomainRegistry; /** * * @since 1.17 */ public function __construct() { /** @noinspection PhpUndefinedClassInspection */ $this->wpTextdomainRegistry = new \WP_Textdomain_Registry(); } /** * * @since 1.17 * * @return \WP_Textdomain_Registry * * @noinspection PhpUndefinedClassInspection */ public function getWpWpTextdomainRegistryObject() { return $this->wpTextdomainRegistry; } }
Upload File
Create Folder