groups_screen_group_admin_delete_group

  • do_action( 'groups_screen_group_admin_delete_group', $bp->groups->current_group->id )

    Source Reference:

    • Component: BuddyPress:: bp-groups
      File: /bp-groups/bp-groups-screens.php :: Trac Source Line: 794
      				do_action( 'groups_group_deleted', $bp->groups->current_group->id );
      
      				bp_core_redirect( bp_loggedin_user_domain() . bp_get_groups_slug() . '/' );
      			}
      
      			bp_core_redirect( bp_loggedin_user_domain() . bp_get_groups_slug() );
      		}
      
      		do_action( 'groups_screen_group_admin_delete_group', $bp->groups->current_group->id );
      
      		bp_core_load_template( apply_filters( 'groups_template_group_admin_delete_group', 'groups/single/home' ) );
      	}
      }
      add_action( 'bp_screens', 'groups_screen_group_admin_delete_group' );
      
      /**
       * Renders the group settings fields on the Notification Settings page
       *
       * @package BuddyPress
      

Comments are closed.