+ if ( $theme->get('Version') ) {
+ $theme_meta[] = sprintf( __( 'Version %s' ), $theme->display('Version') );
+ }
+ $theme_meta[] = sprintf( __( 'By %s' ), $theme->display('Author') );
+
+ if ( $theme->get('ThemeURI') ) {
+ $theme_meta[] = '<a href="' . $theme->display('ThemeURI') . '" title="' . esc_attr__( 'Visit theme homepage' ) . '">' . __( 'Visit Theme Site' ) . '</a>';
+ }
+ /**
+ * Filter the array of row meta for each theme in the Multisite themes
+ * list table.
+ *
+ * @since 3.1.0
+ *
+ * @param array $theme_meta An array of the theme's metadata,
+ * including the version, author, and
+ * theme URI.
+ * @param string $stylesheet Directory name of the theme.
+ * @param WP_Theme $theme WP_Theme object.
+ * @param string $status Status of the theme.
+ */
+ $theme_meta = apply_filters( 'theme_row_meta', $theme_meta, $stylesheet, $theme, $status );
+ echo implode( ' | ', $theme_meta );
+
+ echo '</div>';
+ }
+
+ /**
+ * Handles default column output.
+ *
+ * @since 4.3.0
+ * @access public
+ *
+ * @param WP_Theme $theme The current WP_Theme object.
+ * @param string $column_name The current column name.
+ */
+ public function column_default( $theme, $column_name ) {
+ $stylesheet = $theme->get_stylesheet();
+
+ /**
+ * Fires inside each custom column of the Multisite themes list table.
+ *
+ * @since 3.1.0
+ *
+ * @param string $column_name Name of the column.
+ * @param string $stylesheet Directory name of the theme.
+ * @param WP_Theme $theme Current WP_Theme object.
+ */
+ do_action( 'manage_themes_custom_column', $column_name, $stylesheet, $theme );
+ }
+
+ /**
+ * Handles the output for a single table row.
+ *
+ * @since 4.3.0
+ * @access public
+ *
+ * @param WP_Theme $item The current WP_Theme object.
+ */
+ public function single_row_columns( $item ) {
+ list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info();