BP_Groups_List_Table::column_cb( array $item = array() )

Markup for the Checkbox column.

Description

See also

Parameters

$item

(Optional) A singular item (one full row).

Default value: array()

Source

File: bp-groups/classes/class-bp-groups-list-table.php

	public function column_cb( $item = array() ) {
		/* translators: accessibility text */
		printf( '<label class="screen-reader-text" for="gid-%1$d">' . __( 'Select group %1$d', 'buddyboss' ) . '</label><input type="checkbox" name="gid[]" value="%1$d" id="gid-%1$d" />', $item['id'] );
	}

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.