BP_Activity_List_Table::column_cb( array $item )
Checkbox column markup.
Description
See also
Parameters
- $item
-
(Required) A singular item (one full row).
Source
File: bp-activity/classes/class-bp-activity-list-table.php
function column_cb( $item ) { /* translators: accessibility text */ printf( '<label class="screen-reader-text" for="aid-%1$d">' . __( 'Select activity item %1$d', 'buddyboss' ) . '</label><input type="checkbox" name="aid[]" value="%1$d" id="aid-%1$d" />', $item['id'] ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.6.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.