WP_Users_List_Table::display_rows() – Generate the list table rows.

You appear to be a bot. Output may be restricted

Description

Generate the list table rows.

Usage

WP_Users_List_Table::display_rows();

Parameters

Returns

void

Source

File name: wordpress/wp-admin/includes/class-wp-users-list-table.php
Lines:

1 to 10 of 10
  public function display_rows() {
    // Query the post counts for this page.
    if ( ! $this->is_site_users ) {
      $post_counts = count_many_users_posts( array_keys( $this->items ) );
    }

    foreach ( $this->items as $userid => $user_object ) {
      echo "\n\t" . $this->WP_Users_List_Table::single_row( $user_object, '', '', isset( $post_counts ) ? $post_counts[ $userid ] : 0 );
    }
  }
 

 View on GitHub View on Trac