HEX
Server: nginx/1.27.1
System: Linux in-4 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: ilikadirect (1186)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v6964/gopalak/public_html/wp-content/plugins/buddypress/bp-groups/screens/single/admin.php
<?php
/**
 * Groups: Single group "Manage" screen handler
 *
 * @package BuddyPress
 * @subpackage GroupsScreens
 * @since 3.0.0
 */

/**
 * Handle the display of a group's Admin pages.
 *
 * @since 1.0.0
 */
function groups_screen_group_admin() {
	if ( ! bp_is_groups_component() || ! bp_is_current_action( 'admin' ) ) {
		return false;
	}

	if ( bp_action_variables() ) {
		return false;
	}

	$redirect = bp_get_group_manage_url(
		groups_get_current_group(),
		bp_groups_get_path_chunks( array( 'edit-details' ), 'manage' )
	);

	bp_core_redirect( $redirect );
}