Created
December 20, 2013 14:34
-
-
Save invmatt/8055554 to your computer and use it in GitHub Desktop.
Remove "Howdy" from Wordpress admin bar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| add_filter( 'gettext', 'change_howdy_text', 10, 2 ); | |
| function change_howdy_text( $translation, $original ) { | |
| if( 'Howdy, %1$s' == $original ) | |
| $translation = 'Logged in as %1$s'; | |
| return $translation; | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment