Changeset 9131 for trunk/src/bp-groups/bp-groups-classes.php
- Timestamp:
- 11/10/2014 07:13:04 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-classes.php
r9130 r9131 3668 3668 $admin_link = trailingslashit( bp_get_group_permalink( $current_group ) . 'admin' ); 3669 3669 3670 // Add the tab to the manage navigation 3671 bp_core_new_subnav_item( array( 3670 $subnav_args = array( 3672 3671 'name' => $screen['name'], 3673 3672 'slug' => $screen['slug'], … … 3677 3676 'position' => $position, 3678 3677 'screen_function' => 'groups_screen_group_admin', 3679 ) ); 3678 ); 3679 3680 // Should we add a menu to the Group's WP Admin Bar 3681 if ( ! empty( $screen['show_in_admin_bar'] ) ) { 3682 $subnav_args['show_in_admin_bar'] = true; 3683 } 3684 3685 // Add the tab to the manage navigation 3686 bp_core_new_subnav_item( $subnav_args ); 3680 3687 3681 3688 // Catch the edit screen and forward it to the plugin template
Note: See TracChangeset
for help on using the changeset viewer.