bp_groups_admin_edit_metabox_status( object $item )
Renders the Status metabox for the Groups admin edit screen.
Description
Parameters
- $item
-
(Required) Information about the currently displayed group.
Source
File: bp-groups/bp-groups-admin.php
function bp_groups_admin_edit_metabox_status( $item ) { $base_url = add_query_arg( array( 'page' => 'bp-groups', 'gid' => $item->id ), bp_get_admin_url( 'admin.php' ) ); ?> <div id="submitcomment" class="submitbox"> <div id="major-publishing-actions"> <div id="delete-action"> <a class="submitdelete deletion" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'action', 'delete', $base_url ), 'bp-groups-delete' ) ); ?>"><?php _e( 'Delete Group', 'buddyboss' ) ?></a> </div> <div id="publishing-action"> <?php submit_button( __( 'Save Changes', 'buddyboss' ), 'primary', 'save', false ); ?> </div> <div class="clear"></div> </div><!-- #major-publishing-actions --> </div><!-- #submitcomment --> <?php }
Changelog
Version | Description |
---|---|
BuddyPress 1.7.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.