register_column_headers

Advertisement

Summery Summery

Register column headers for a particular screen.

Syntax Syntax

register_column_headers( string $screen, string[] $columns )

Parameters Parameters

$screen

(string) (Required) The handle for the screen to add help to. This is usually the hook name returned by the add_*_page() functions.

$columns

(string[]) (Required) An array of columns with column IDs as the keys and translated column names as the values.

Source Source

File: wp-admin/includes/list-table.php

function register_column_headers( $screen, $columns ) {
	new _WP_List_Table_Compat( $screen, $columns );
}

Advertisement

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.