Title: register_column_headers
Published: April 25, 2014
Last modified: May 20, 2026

---

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

## In this article

 * [Description](https://developer.wordpress.org/reference/functions/register_column_headers/?output_format=md#description)
    - [See also](https://developer.wordpress.org/reference/functions/register_column_headers/?output_format=md#see-also)
 * [Parameters](https://developer.wordpress.org/reference/functions/register_column_headers/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/functions/register_column_headers/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/register_column_headers/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/register_column_headers/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/register_column_headers/?output_format=md#wp--skip-link--target)

Register column headers for a particular screen.

## 󠀁[Description](https://developer.wordpress.org/reference/functions/register_column_headers/?output_format=md#description)󠁿

### 󠀁[See also](https://developer.wordpress.org/reference/functions/register_column_headers/?output_format=md#see-also)󠁿

 * [get_column_headers()](https://developer.wordpress.org/reference/functions/get_column_headers/),:
   [print_column_headers()](https://developer.wordpress.org/reference/functions/print_column_headers/),
   [get_hidden_columns()](https://developer.wordpress.org/reference/functions/get_hidden_columns/)

## 󠀁[Parameters](https://developer.wordpress.org/reference/functions/register_column_headers/?output_format=md#parameters)󠁿

 `$screen`stringrequired

The handle for the screen to register column headers for. 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](https://developer.wordpress.org/reference/functions/register_column_headers/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/list-table.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-admin/includes/list-table.php#L92)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/list-table.php#L92-L94)

## 󠀁[Related](https://developer.wordpress.org/reference/functions/register_column_headers/?output_format=md#related)󠁿

| Uses | Description | 
| [_WP_List_Table_Compat::__construct()](https://developer.wordpress.org/reference/classes/_wp_list_table_compat/__construct/)`wp-admin/includes/class-wp-list-table-compat.php` |

Constructor.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/register_column_headers/?output_format=md#changelog)󠁿

| Version | Description | 
| [2.7.0](https://developer.wordpress.org/reference/since/2.7.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fregister_column_headers%2F)
before being able to contribute a note or feedback.