bp_groups_admin_edit_metabox_add_new_members( BP_Groups_Group $item )

Output the markup for a single group’s Add New Members metabox.

Description

Parameters

$item

(Required) The BP_Groups_Group object for the current group.

Source

File: bp-groups/bp-groups-admin.php

function bp_groups_admin_edit_metabox_add_new_members( $item ) {
	?>

	<label for="bp-groups-new-members" class="screen-reader-text"><?php
		/* translators: accessibility text */
		_e( 'Add new members', 'buddyboss' );
	?></label>
	<input name="bp-groups-new-members" type="text" id="bp-groups-new-members" class="bp-suggest-user" placeholder="<?php esc_attr_e( 'Enter a comma-separated list of user logins.', 'buddyboss' ) ?>" />
	<ul id="bp-groups-new-members-list"></ul>
	<?php
}

Changelog

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.