BP_Members_List_Table::column_cb( object|null $signup_object = null )
Markup for the checkbox used to select items for bulk actions.
Description
Parameters
- $signup_object
-
(Optional) The signup data object.
Default value: null
Source
File: bp-members/classes/class-bp-members-list-table.php
public function column_cb( $signup_object = null ) { ?> <label class="screen-reader-text" for="signup_<?php echo intval( $signup_object->id ); ?>"><?php /* translators: accessibility text */ printf( esc_html__( 'Select user: %s', 'buddyboss' ), $signup_object->user_login ); ?></label> <input type="checkbox" id="signup_<?php echo intval( $signup_object->id ) ?>" name="allsignups[]" value="<?php echo esc_attr( $signup_object->id ) ?>" /> <?php }
Changelog
Version | Description |
---|---|
BuddyPress 2.0.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.