Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to safely remove bp_adminbar_authors_menu using bp-custom?


David Lewis
Participant

@takeo

On a similar note… I wanted to remove one of the sidebars from the widget admin area since I won’t be using them all in my child template. I tried this but it did not work :( Spent a few hours researching and trying different things (including every possibly priority setting). No dice. I eventually gave up and hacked function file of the parent theme.

function remove_sidebar() {
unregister_sidebar('third-section');
}
add_action( 'admin_init', 'remove_sidebar');

Skip to toolbar