WordPress at a glance
function is not described

WP_Media_List_Table::get_columns() WP 1.0

This is a method of the class: WP_Media_List_Table

Return

Array.

Usage

$WP_Media_List_Table = new WP_Media_List_Table();
$var = $WP_Media_List_Table->get_columns();

Code of WP Media List Table::get columns: wp-admin/includes/class-wp-media-list-table.php WP 5.2.2

<?php
public function get_columns() {
	$posts_columns       = array();
	$posts_columns['cb'] = '<input type="checkbox" />';
	/* translators: column name */
	$posts_columns['title']  = _x( 'File', 'column name' );
	$posts_columns['author'] = __( 'Author' );

	$taxonomies = get_taxonomies_for_attachments( 'objects' );
	$taxonomies = wp_filter_object_list( $taxonomies, array( 'show_admin_column' => true ), 'and', 'name' );

	/**
	 * Filters the taxonomy columns for attachments in the Media list table.
	 *
	 * @since 3.5.0
	 *
	 * @param string[] $taxonomies An array of registered taxonomy names to show for attachments.
	 * @param string   $post_type  The post type. Default 'attachment'.
	 */
	$taxonomies = apply_filters( 'manage_taxonomies_for_attachment_columns', $taxonomies, 'attachment' );
	$taxonomies = array_filter( $taxonomies, 'taxonomy_exists' );

	foreach ( $taxonomies as $taxonomy ) {
		if ( 'category' === $taxonomy ) {
			$column_key = 'categories';
		} elseif ( 'post_tag' === $taxonomy ) {
			$column_key = 'tags';
		} else {
			$column_key = 'taxonomy-' . $taxonomy;
		}
		$posts_columns[ $column_key ] = get_taxonomy( $taxonomy )->labels->name;
	}

	/* translators: column name */
	if ( ! $this->detached ) {
		$posts_columns['parent'] = _x( 'Uploaded to', 'column name' );
		if ( post_type_supports( 'attachment', 'comments' ) ) {
			$posts_columns['comments'] = '<span class="vers comment-grey-bubble" title="' . esc_attr__( 'Comments' ) . '"><span class="screen-reader-text">' . __( 'Comments' ) . '</span></span>';
		}
	}
	/* translators: column name */
	$posts_columns['date'] = _x( 'Date', 'column name' );
	/**
	 * Filters the Media list table columns.
	 *
	 * @since 2.5.0
	 *
	 * @param string[] $posts_columns An array of columns displayed in the Media list table.
	 * @param bool     $detached      Whether the list table contains media not attached
	 *                                to any posts. Default true.
	 */
	return apply_filters( 'manage_media_columns', $posts_columns, $this->detached );
}