BP_Members_Invitations_List_Table::column_cb( BP_Invitation $invite = null )

Markup for the checkbox used to select items for bulk actions.


Parameters Parameters

$invite

(BP_Invitation) (Optional) BP_Invitation object.

Default value: null


Source Source

File: bp-members/classes/class-bp-members-invitations-list-table.php

	public function column_cb( $invite = null ) {
		?>
		<label class="screen-reader-text" for="invitation_<?php echo intval( $invite->id ); ?>">
			<?php
				/* translators: accessibility text */
				printf( esc_html__( 'Select invitation: %s', 'buddypress' ), $invite->id );
			?>
		</label>
		<input type="checkbox" id="invitation_<?php echo intval( $invite->id ) ?>" name="invite_ids[]" value="<?php echo esc_attr( $invite->id ) ?>" />
		<?php
	}

Top ↑

Changelog Changelog

Changelog
Version Description
8.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.