Wordpress移除后台页面标题中的“ — WordPress”

Function代码

//移除后台页面标题中的“ — WordPress”,by minirizhi.com
add_filter('admin_title', 'minirizhi_remove_admin_title', 10, 2);
function minirizhi_remove_admin_title($admin_title, $title){
    return $title.' ‹ '.get_bloginfo('name');
}
文章目录