foreach ( $columns as $column_name =>
$column_display_name ) { $extra_classes = '';
if ( in_array( $column_name,
$hidden, true
) ) { $extra_classes .= ' hidden';
} switch ( $column_name ) { case 'cb':
echo '<th scope="row" class="check-column">';
$this->
column_cb( $item );
echo '</th>';
break;
case 'name':
$active_theme_label = '';
/* The presence of the site_id property means that this is a subsite view and a label for the active theme needs to be added */
if ( !
empty( $this->site_id
) ) { $stylesheet =
get_blog_option( $this->site_id, 'stylesheet'
);
$template =
get_blog_option( $this->site_id, 'template'
);