bp_groups_admin()
Select the appropriate Groups admin screen, and output it.
Description Description
Source Source
File: bp-groups/bp-groups-admin.php
function bp_groups_admin() { // Decide whether to load the index or edit screen. $doaction = bp_admin_list_table_current_bulk_action(); // Display the single group edit screen. if ( 'edit' == $doaction && ! empty( $_GET['gid'] ) ) { bp_groups_admin_edit(); // Display the group deletion confirmation screen. } elseif ( 'delete' == $doaction && ! empty( $_GET['gid'] ) ) { bp_groups_admin_delete(); // Otherwise, display the groups index screen. } else { bp_groups_admin_index(); } }
Changelog Changelog
Version | Description |
---|---|
1.7.0 | Introduced. |