wordpress后台禁用Google Open Sans字体 加速
找到 functions.php 把下面代码加入最后
// 禁用Google opan sans字体
add_filter( 'gettext_with_context', 'wpdx_disable_open_sans', 888, 4 );
function wpdx_disable_open_sans( $translations, $text, $context, $domain ) {
if ( 'Open Sans font: on or off' == $context && 'on' == $text ) {
$translations = 'off';
}
return $translations;
}