Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Removes "Howdy" from the WordPress 3.3 toolbar

View no-howdy.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<?php
/*
Plugin Name: No Howdy
Description: Removes "Howdy, " from the toolbar
Version: 0.1
License: GPL version 2 or any later version
Author: Mark Jaquith
Author URI: http://coveredwebservices.com/
*/
class CWS_No_Howdy {
const howdy = 'Howdy, %1$s';
const no_howdy = '%s';
public function __construct() {
add_filter( 'gettext', array( $this, 'kill_howdy' ) );
}
public function kill_howdy( $text ) {
if ( self::howdy === $text )
return self::no_howdy;
return $text;
}
}
new CWS_No_Howdy;

How about an additional

remove_action( 'admin_bar_menu', array( $this, 'hook_out' ), 9999 );

before line 32?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.