bp_after_group_delete_admin

  • do_action( 'bp_after_group_delete_admin' )

    Source Reference:

    • Component: BuddyPress:: bp-themes
      File: /bp-themes/bp-default/groups/single/admin.php :: Trac Source Line: 355
      	<?php do_action( 'bp_before_group_delete_admin' ); ?>
      
      	<div id="message" class="info">
      		<p><?php _e( 'WARNING: Deleting this group will completely remove ALL content associated with it. There is no way back, please be careful with this option.', 'buddypress' ); ?></p>
      	</div>
      
      	<label><input type="checkbox" name="delete-group-understand" id="delete-group-understand" value="1" onclick="if(this.checked) { document.getElementById('delete-group-button').disabled = ''; } else { document.getElementById('delete-group-button').disabled = 'disabled'; }" /> <?php _e( 'I understand the consequences of deleting this group.', 'buddypress' ); ?></label>
      
      	<?php do_action( 'bp_after_group_delete_admin' ); ?>
      
      	<div class="submit">
      		<input type="submit" disabled="disabled" value="<?php _e( 'Delete Group', 'buddypress' ) ?>" id="delete-group-button" name="delete-group-button" />
      	</div>
      
      	<input type="hidden" name="group-id" id="group-id" value="<?php bp_group_id() ?>" />
      
      	<?php wp_nonce_field( 'groups_delete_group' ) ?>
      
      <?php endif; ?>
      

Comments are closed.