mirror of
https://github.com/yunluo/gdk.git
synced 2024-05-13 03:36:59 +02:00
先关闭2个功能
This commit is contained in:
parent
e9f5b04cec
commit
2b898a947f
|
@ -4,7 +4,7 @@ include( 'clean-up.php' );//数据库清理
|
|||
include( 'local_avatars.php' );//本地头像
|
||||
|
||||
include( 'updates.php' );//在线更新
|
||||
include( 'widget_cache.php' );//小工具缓存
|
||||
//include( 'widget_cache.php' );//小工具缓存
|
||||
|
||||
include( 'Payjs.php' );//支付功能
|
||||
include( 'points/points.php' );//积分功能
|
||||
|
|
|
@ -409,13 +409,6 @@ function deactivate_rest_api() {
|
|||
remove_action( 'rest_api_init', 'wp_oembed_register_route' );
|
||||
}
|
||||
|
||||
|
||||
//前台禁止加载语言包
|
||||
add_filter('locale', function($locale) {
|
||||
$locale = ( is_admin() ) ? $locale : 'en_US';
|
||||
return $locale;
|
||||
});
|
||||
|
||||
// 定制登录页面链接的连接
|
||||
add_filter('login_headerurl', function (){
|
||||
return home_url();
|
||||
|
|
Loading…
Reference in a new issue