Changeset 14176
- Timestamp:
- 12/26/2025 08:05:06 PM (3 days ago)
- File:
-
- 1 edited
-
branches/14.0/src/bp-groups/bp-groups-admin.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/14.0/src/bp-groups/bp-groups-admin.php
r13937 r14176 42 42 43 43 /** 44 * Redirects the user on the G oups network admin screen when BuddyPress is network activated.44 * Redirects the user on the Groups network admin screen when BuddyPress is network activated. 45 45 * 46 46 * @since 7.0.0 … … 58 58 function bp_groups_admin_types_menu() { 59 59 if ( ! bp_is_root_blog() ) { 60 return; 61 } 62 63 // Bail if the bp_group_type taxonomy is disabled. 64 if ( ! taxonomy_exists( 'bp_group_type' ) ) { 60 65 return; 61 66 } … … 106 111 * @since 1.7.0 107 112 * 108 * @param array$custom_menus Array of BP top-level menu items.109 * @return arrayMenu item array, with Groups added.113 * @param string[] $custom_menus Array of BP top-level menu items. 114 * @return string[] Menu item array, with Groups added. 110 115 */ 111 116 function bp_groups_admin_menu_order( $custom_menus = array() ) { 112 array_push( $custom_menus, 'bp-groups' ); 117 $custom_menus[] = 'bp-groups'; 118 113 119 return $custom_menus; 114 120 }
Note: See TracChangeset
for help on using the changeset viewer.