function custom_admin_title( $admin_title ) { return str_replace( ' — WordPress', '', $admin_title ); }
add_filter( 'admin_title', 'custom_admin_title' );
function custom_admin_title( $admin_title ) {
return str_replace( ' — WordPress', '', $admin_title );
}
add_filter( 'admin_title', 'custom_admin_title' );