Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #6534, comment 43


Ignore:
Timestamp:
06/09/2016 05:14:01 PM (8 years ago)
Author:
imath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6534, comment 43

    initial v1  
    44Meaning if you did `bp_core_remove_nav_item( $group_slug )` it would remove the group slug nav item and all group's subnav items.
    55
    6 In 2.6, we don't use yet the primary nav for the group, we just set one nav that is the group's slug this way even if it's a different object it still looks like before, all group nav items are in the secondary nav of the group's slug primary nav.
     6In 2.6, we don't "fully" enjoy yet the primary nav for the group, we just set one nav that is the group's slug this way even if it's a different object it still looks like before, all group nav items are in the secondary nav of the group's slug primary nav.
    77
    88So i guess the test for `bp_core_remove_nav_item( $group_slug )` is to check `$bp->groups->nav` is empty.