WP_MS_Themes_List_Table::get_columns()publicWP 1.0

Method of the class: WP_MS_Themes_List_Table{}

No Hooks.

Return

String[]. Array of column titles keyed by their column name.

Usage

$WP_MS_Themes_List_Table = new WP_MS_Themes_List_Table();
$WP_MS_Themes_List_Table->get_columns();

WP_MS_Themes_List_Table::get_columns() code WP 6.6.2

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;
}