bp_group_manage_members_admin_item, admins-list

bp_group_manage_members_admin_item, admins-list

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('bp_group_manage_members_admin_item, admins-list') is found 3 times:

  • /bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php line 70
    							 * @since 2.7.0 Added $section parameter.
    							 *
    							 * @param string $section Which list contains this item.
    							 */
    							do_action( 'bp_group_manage_members_admin_item', 'admins-list' ); ?>
    						</div>
    
    						<div class="action">
    							<?php if ( count( bp_group_admin_ids( false, 'array' ) ) > 1 ) : ?>
    								<a class="button confirm admin-demote-to-member" href="<?php bp_group_member_demote_link(); ?>"><?php esc_html_e( 'Demote to Member', 'buddypress' ); ?></a>
    							<?php endif; ?>
    
  • /bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php line 164
    							 * @since 2.7.0 Added $section parameter.
    							 *
    							 * @param string $section Which list contains this item.
    							 */
    							do_action( 'bp_group_manage_members_admin_item', 'admins-list' ); ?>
    						</div>
    
    						<div class="action">
    							<a href="<?php bp_group_member_promote_admin_link(); ?>" class="button confirm mod-promote-to-admin"><?php esc_html_e( 'Promote to Admin', 'buddypress' ); ?></a>
    							<a class="button confirm mod-demote-to-member" href="<?php bp_group_member_demote_link(); ?>"><?php esc_html_e( 'Demote to Member', 'buddypress' ); ?></a>
    
    
  • /bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php line 265
    							 * @since 2.7.0 Added $section parameter.
    							 *
    							 * @param string $section Which list contains this item.
    							 */
    							do_action( 'bp_group_manage_members_admin_item', 'admins-list' ); ?>
    						</div>
    
    						<div class="action">
    							<?php if ( bp_get_group_member_is_banned() ) : ?>
    
    								<a href="<?php bp_group_member_unban_link(); ?>" class="button confirm member-unban"><?php esc_html_e( 'Remove Ban', 'buddypress' ); ?></a>