- This topic has 1 reply, 2 contibutors, and was last updated 9 years, 1 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Question
Answers
Viewing 2 posts - 1 through 2 (of 2 total)
- The question ‘Doc Section’ is closed to new replies.
BuddyBoss Home – Web › Support Forums › Plugins › BuddyBoss Media › Doc Section
After enabling buddyboss media, the section “Docs” began showing up on the logged in user profile, along with “Photos”. Both “docs” and “photos” link to upload photos. I have deactivated and deleted the plugin and the “Docs” section is still displaying…. It now links to the Buddypress user profile.
How do I remove “Docs”?
Thanks,
Ajay
Hi @communityartistry.
please include following function in your child theme functions.php
add_action( 'init' , 'bb_remove_docs_tab' , 15 );
function bb_remove_docs_tab() {
if(!is_plugin_active( 'buddypress-docs/loader.php' ) ) {
remove_action('template_redirect', 'bb_child_doc_menu_count_tabs', 999);
}
}
We have fixed this issue inside development version , it will be updated shortly
Regards