Remove Buddypress Admin Bar
I would like to entirely remove the Buddypress admin stuff from the admin bar.
I 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.php
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?
- The topic ‘Remove Buddypress Admin Bar’ is closed to new replies.