WP_MS_Sites_List_Table::display_rows()

In this article

Generates the list table rows.

Source

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>';
	}
}

Changelog

VersionDescription
3.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.