| Server IP : 43.141.49.92 / Your IP : 113.219.202.141 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/wordpress/wordpress/wp-content/plugins/wpjam-basic/ |
Upload File : |
<?php
/*
Plugin Name: WPJAM BASIC
Plugin URI: https://blog.wpjam.com/project/wpjam-basic/
Description: WPJAM 常用的函数和接口,屏蔽所有 WordPress 不常用的功能。
Version: 6.6.0.2
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 7.4
Author: Denis
Author URI: http://blog.wpjam.com/
*/
define('WPJAM_BASIC_PLUGIN_DIR', plugin_dir_path(__FILE__));
define('WPJAM_BASIC_PLUGIN_URL', plugin_dir_url(__FILE__));
define('WPJAM_BASIC_PLUGIN_FILE', __FILE__);
include __DIR__.'/includes/class-wpjam-register.php'; // 数据注册类
include __DIR__.'/includes/class-wpjam-model.php'; // Model/Handler 类
include __DIR__.'/includes/class-wpjam-util.php'; // 常用工具类
include __DIR__.'/includes/class-wpjam-field.php'; // 字段解析类
include __DIR__.'/includes/class-wpjam-api.php'; // 路由/接口/平台/路径/选项设置类
include __DIR__.'/includes/class-wpjam-post.php'; // 文章处理类
include __DIR__.'/includes/class-wpjam-term.php'; // 分类处理类
include __DIR__.'/includes/class-wpjam-user.php'; // 用户处理类
if(is_admin()){
include __DIR__.'/includes/class-wpjam-admin.php'; // 后台页面处理类
include __DIR__.'/includes/class-wpjam-list-table.php'; // 自定义后台列表类
}
include __DIR__.'/public/wpjam-compat.php'; // 兼容代码
include __DIR__.'/public/wpjam-functions.php'; // 常用函数
include __DIR__.'/public/wpjam-utils.php'; // 工具函数
include __DIR__.'/public/wpjam-route.php'; // 路由接口
do_action('wpjam_loaded');