BP_Members_List_Table::display_rows()

Display signups rows.

Description

Source

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

227
228
229
230
231
232
233
234
235
236
237
238
239
public function display_rows() {
    $style = '';
    foreach ( $this->items as $userid => $signup_object ) {
 
        // Avoid a notice error appearing since 4.3.0.
        if ( isset( $signup_object->id ) ) {
            $signup_object->ID = $signup_object->id;
        }
 
        $style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"';
        echo "\n\t" . $this->single_row( $signup_object, $style );
    }
}

Changelog

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.