In it’s native state, the WordPress Dashboard displays useful information to users after they log in. But what if you wanted to hide certain information from users? This snippet will hide the name of the current theme from all logged in users.

Add the following code to your theme’s functions.php file to remove the theme credit from the “Right Now” widget on the WordPress Dashboard.
<?php
add_filter( 'ngettext', 'mfields_remove_theme_name_from_admin' );
if( !function_exists( 'mfields_post_is_in_descendant_category' ) ) {
function mfields_remove_theme_name_from_admin( $c ) {
return ( strstr( $c, 'Theme <span class="b">%1$s</span> with <span class="b">%2$s' ) ) ? '' : $c;
}
}
?>


