// Remove groups tab from profile // adjust accordingly to remove other items! Simple huh? // Enjoy! function bphelp_remove_groups_from_profile(){ bp_core_remove_nav_item('groups'); } add_action('bp_groups_setup_nav','bphelp_remove_groups_from_profile');
Dodaj komentarz