WP_MS_Sites_List_Table::display_rows() –

You appear to be a bot. Output may be restricted

Description

Usage

WP_MS_Sites_List_Table::display_rows();

Parameters

Returns

void

Source

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

1 to 19 of 19
  public function display_rows() {
    foreach ( $this->items as $blog ) {
      $blog  = $blog->to_array();
      $class = '';
      reset( $this->status_list );

      foreach ( $this->status_list as $status => $col ) {
        if ( 1 == $blog[ $status ] ) {
          $class = " class='{$col[0]}'";
        }
      }

      echo "<tr{$class}>";

      $this->single_row_columns( $blog );

      echo '</tr>';
    }
  }
 

 View on GitHub View on Trac