Re: remove_action( ‘bp_adminbar_logo’, ‘bp_adminbar_logo’ ); not working in RC2?
Yep, still works. I assume we\’re talking about the \’buddypress\’ graphic in the top-left of the \’buddybar\’.
In my theme\’s functions.php:
remove_action( \'bp_adminbar_logo\', \'bp_adminbar_logo\' );
And in my CSS:
#wp-admin-bar ul { margin-left: 0 !important; }
If that doesn\’t work before you, it\’s because you\’re putting it in the wrong file. If you\’ve got it in bp-custom.php, then it\’s getting read before the buddybar menu items are created internally – therefore it doesn\’t remove them as it needs to happen afterwards.
Burt Adsit has a suggestion on the Trac for a bp-custom-after.php which would be an appropiate place for this sort of override. In the interim, I suggest you make a file \’z-custom.php\’ in /mu-plugins/ and put the above line in.