Buddypress Tags: bp_get_nav()
This tag uses the $bp->bp_nav global to fetch the navigation within a BuddyPress installation.
Each component adds to this navigation array within its own [component_name]_setup_nav() function.
This navigation array is the top level navigation, so it contains items such as:
[Blog, Profile, Messages, Groups, Friends].The function will also analyze the current component the user is in, to determine whether
or not to highlight a particular navigation item.
Popularity: 1%