Remove Buddypress Admin Bar
-
I would like to entirely remove the Buddypress admin stuff from the admin bar.
WP: 3.8
BP: 1.9.1I don’t want to use css – display: none;
I have tried:
bp-custom.php in Theme Folder and Plugin Folder.
<?php define( ‘BP_DISABLE_ADMIN_BAR’, true ); ?>
In the theme folder it does nothing.
In the plugin folder it gives this ERROR: Use of undefined constant ‘BP_DISABLE_ADMIN_BAR’ – assumed ‘‘BP_DISABLE_ADMIN_BAR’’ in /wp-content/plugins/bp-custom.phpalso:
In functions.php:
add_filter(‘show_admin_bar’, ‘__return_false’);
this gives the ERROR: Notice: Use of undefined constant ‘show_admin_bar’ – assumed ‘‘show_admin_bar’’ /themes/twentyfourteen/functions.php on line 526
… and the buddypress docs page for Hiding the Admin Bar is gone! http://codex.buddypress.org/how-to-guides/modifying-the-buddypress-admin-bar/hiding-the-buddypress-admin-bar/
Anyone know how to remove the buddypress admin menu links from the admin bar?
Thanks!
- The topic ‘Remove Buddypress Admin Bar’ is closed to new replies.