BP_Groups_List_Table::display()

Output the Groups data table.

Description

Source

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

245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
public function display() {
    $this->display_tablenav( 'top' ); ?>
 
    <h2 class="screen-reader-text"><?php
        /* translators: accessibility text */
        _e( 'Groups list', 'buddyboss' );
    ?></h2>
 
    <table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0">
        <thead>
            <tr>
                <?php $this->print_column_headers(); ?>
            </tr>
        </thead>
 
        <tbody id="the-comment-list">
            <?php $this->display_rows_or_placeholder(); ?>
        </tbody>
 
        <tfoot>
            <tr>
                <?php $this->print_column_headers( false ); ?>
            </tr>
        </tfoot>
    </table>
    <?php
 
    $this->display_tablenav( 'bottom' );
}

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.