| Server IP : 43.141.49.107 / Your IP : 113.219.202.173 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/www.ucppt.com/wp-content/plugins/wpcom-member-pro/ |
Upload File : |
<?php
/**
* Plugin Name: WPCOM用户中心高级版
* Plugin URI: https://www.wpcom.cn
* Description: WPCOM主题用户中心高级版,可支持会员订阅、付费阅读、付费下载等高级增强功能
* Version: 2.4.2
* Author: WPCOM
* Author URI: https://www.wpcom.cn
* Requires PHP: 7.4
* Requires at least: 6.3
* Requires Plugins: wpcom-member
*/
defined('ABSPATH') || exit;
define('WPCOM_MP_VERSION', '2.4.2');
define('WPCOM_MP_DIR', plugin_dir_path(__FILE__));
define('WPCOM_MP_URI', plugins_url('/', __FILE__));
define('WPCMP_TD', 'wpcom-member-pro');
$themer_path = is_dir($framework_path = WPCOM_MP_DIR . '/admin/') ? $framework_path : plugin_dir_path( __DIR__ ) . '/Themer/admin/' ;
require $themer_path . 'load.php';
add_action('plugins_loaded', function(){
do_action('wpcom_setup_plugin_themer');
if(defined('WPMX_VERSION')){
$wpcom_mp_info = [
'slug' => 'wpcom-member-pro',
'name' => '用户中心',
'ver' => WPCOM_MP_VERSION,
'title' => '用户中心',
'icon' => 'dashicons-wpcom-logo',
'position' => 72,
'key' => 'wpmx_options',
'plugin_id' => 'a23e6c668dc508a3',
'basename' => plugin_basename(__FILE__)
];
$GLOBALS['wpcom_mp'] = new \WPCOM\Themer\Plugin\Panel($wpcom_mp_info);
}
}, 5);
include WPCOM_MP_DIR . 'includes/functions.php';