WP_MS_Themes_List_Table::get_columns(): array<string,

In this article

Gets the list of columns for the list table.

Return

array<string, string> Array of column titles keyed by their column name.

Source

public function get_columns() {
	$columns = array(
		'cb'          => '<input type="checkbox" />',
		'name'        => __( 'Theme' ),
		'description' => __( 'Description' ),
	);

	if ( $this->show_autoupdates ) {
		$columns['auto-updates'] = __( 'Automatic Updates' );
	}

	return $columns;
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.