WordPress at Your Fingertips
function is not described

WP_Terms_List_Table::get_columns() public WP 1.0

{} It's a method of the class: WP_Terms_List_Table{}

No Hooks.

Return

Array.

Usage

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

Code of WP_Terms_List_Table::get_columns() WP 5.8.1

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

	if ( 'link_category' === $this->screen->taxonomy ) {
		$columns['links'] = __( 'Links' );
	} else {
		$columns['posts'] = _x( 'Count', 'Number/count of items' );
	}

	return $columns;
}