/ Published in: PHP

Expand |
Embed | Plain Text
function replace_howdy( $wp_admin_bar ) { $my_account=$wp_admin_bar->get_node('my-account'); 'id' => 'my-account', 'title' => $newtitle, ) ); } add_filter( 'admin_bar_menu', 'replace_howdy',25 );
Comments

You need to login to post a comment.
this is pretty bad snippet. Please donot use this.
I copied and pasted the code on my site-plugin - and no as soon as i use wp-admin - it has white page. I got screwed up that i cannot use my installation anymore
this is pretty bad snippet. Please donot use this.
I copied and pasted the code on my site-plugin - and no as soon as i use wp-admin - it has white page. I got screwed up that i cannot use my installation anymore
this is pretty bad snippet. Please donot use this.
I copied and pasted the code on my site-plugin - and no as soon as i use wp-admin - it has white page. I got screwed up that i cannot use my installation anymore
this is pretty bad snippet. Please donot use this.
I copied and pasted the code on my site-plugin - and no as soon as i use wp-admin - it has white page. I got screwed up that i cannot use my installation anymore
this is pretty bad snippet. Please donot use this.
I copied and pasted the code on my site-plugin - and no as soon as i use wp-admin - it has white page. I got screwed up that i cannot use my installation anymore