WordPress at Your Fingertips
function is not described

WP_MS_Sites_List_Table::display_rows() public WP 1.0

{} It's a method of the class: WP_MS_Sites_List_Table{}

No Hooks.

Return

null. Nothing.

Usage

$WP_MS_Sites_List_Table = new WP_MS_Sites_List_Table();
$WP_MS_Sites_List_Table->display_rows();

Notes

  • Global. String. $mode List table view mode.

Code of WP_MS_Sites_List_Table::display_rows() WP 5.8.2

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