芝麻web文件管理V1.00
编辑当前文件:/home4/randall/public_html/sl/wp-content/plugins/trx_updater/core/plugin.php
update_manager = new UpdateManager(); /** * Plugin init. * * Fires on plugin init, after ThemeREX Updater has finished loading but * before any headers are sent. * * @since 1.0.0 */ do_action( 'trx_updater/init' ); } } /** * Register autoloader. * * ThemeREX Updater autoloader loads all the classes needed to run the plugin. * * @since 1.0.0 * @access private */ private function register_autoloader() { require TRX_UPDATER_DIR . '/core/autoloader.php'; Autoloader::run(); } /** * Plugin constructor. * * Initializing ThemeREX Updater plugin. * * @since 1.0.0 * @access private */ private function __construct() { $this->register_autoloader(); add_action( 'init', array( $this, 'init' ), 0 ); } final public static function get_title() { return __( 'ThemeREX Updater', 'trx-updater' ); } } Plugin::instance();