WP_MS_Sites_List_Table::display_rows()
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.
WP_MS_Sites_List_Table::display_rows() WP MS Sites List Table::display rows code WP 6.1.1
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>'; } }