mirror of
https://github.com/WenPai-org/wp-china-yes.git
synced 2025-08-04 20:19:53 +08:00
feat: 添加排印优化和飞行模式
This commit is contained in:
parent
b0a4bc3d42
commit
a87985970d
12 changed files with 340 additions and 573 deletions
23
helpers.php
23
helpers.php
|
@ -9,15 +9,18 @@ function get_settings() {
|
|||
$settings = is_multisite() ? get_site_option( 'wp_china_yes' ) : get_option( 'wp_china_yes' );
|
||||
|
||||
return wp_parse_args( $settings, [
|
||||
'store' => 'wenpai',
|
||||
'admincdn' => [ 'admin' ],
|
||||
'cravatar' => 'cn',
|
||||
'windfonts' => 'off',
|
||||
'windfonts_list' => [],
|
||||
'adblock' => 'off',
|
||||
'adblock_rule' => [],
|
||||
'monitor' => true,
|
||||
'hide' => false,
|
||||
'custom_name' => 'WP-China-Yes',
|
||||
'store' => 'wenpai',
|
||||
'admincdn' => [ 'admin' ],
|
||||
'cravatar' => 'cn',
|
||||
'windfonts' => 'off',
|
||||
'windfonts_list' => [],
|
||||
'windfonts_typography' => [],
|
||||
'adblock' => 'off',
|
||||
'adblock_rule' => [],
|
||||
'plane' => 'off',
|
||||
'plane_rule' => [],
|
||||
'monitor' => true,
|
||||
'hide' => false,
|
||||
'custom_name' => 'WP-China-Yes',
|
||||
] );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue