WP_MS_Sites_List_Table::display_rows()
Generates the list table rows.
Method of the class: WP_MS_Sites_List_Table{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WP_MS_Sites_List_Table = new WP_MS_Sites_List_Table(); $WP_MS_Sites_List_Table->display_rows();
Changelog
Since 3.1.0 | Introduced. |
WP_MS_Sites_List_Table::display_rows() WP MS Sites List Table::display rows code WP 6.8
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>'; } }