{"id":35226,"date":"2010-07-12T15:20:46","date_gmt":"2010-07-12T19:20:46","guid":{"rendered":"http:\/\/wpmu.org\/?p=35226"},"modified":"2012-10-12T14:31:27","modified_gmt":"2012-10-12T18:31:27","slug":"daily-tip-how-to-disable-the-buddypress-admin-buddy-bar","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/daily-tip-how-to-disable-the-buddypress-admin-buddy-bar\/","title":{"rendered":"How to Disable the BuddyPress Admin \/ Buddy Bar"},"content":{"rendered":"<p>If you want to disable the BuddyPress Admin Bar on every page throughout your site, add this to your wp-config.php file:<\/p>\n<p><code>define( 'BP_DISABLE_ADMIN_BAR', true );<\/code><\/p>\n<p>This is now the correct way to do it. It will actually work, whether you set it to true or false, as long as it&#8217;s defined. Read more about this issue <a href=\"http:\/\/trac.buddypress.org\/attachment\/ticket\/2023\/2023.patch\" rel=\"noopener\" target=\"_blank\">here<\/a>. However, if you&#8217;ve defined it as false in expectation of disabling it, based on how it was previously, there&#8217;s no need to change it, as it will still work either way.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to disable the BuddyPress Admin Bar on every page throughout your site, add this to your wp-config.php file: define( &#8216;BP_DISABLE_ADMIN_BAR&#8217;, true ); This is now the correct way to do it. It will actually work, whether you set it to true or false, as long as it&#8217;s defined. Read more about this [&hellip;]<\/p>\n","protected":false},"author":4099,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[557,235,263],"tags":[8822],"tutorials_categories":[],"class_list":["post-35226","post","type-post","status-publish","format-standard","hentry","category-development","category-misc","category-tutorials","tag-toolbar"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/35226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/4099"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=35226"}],"version-history":[{"count":2,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/35226\/revisions"}],"predecessor-version":[{"id":183105,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/35226\/revisions\/183105"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=35226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=35226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=35226"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=35226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}