/**
* WordPress 后台禁用Google Open 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;
}
恩不错,不过我都是用前端库的~你可以看看我的哦~http://inve.pw

博主我会告诉你这里有个好玩的插件吗→http://blog.lwl12.com/read/wp-plus/
