Core Function
View Source on Trac ↗ register_column_headers()
register_column_headers( mixed $screen, mixed $columns ) Register column headers for a particular screen.
Parameters 2 required
| Name / Type | Description |
|---|---|
| string | $screen The handle for the screen to register column headers for. This is usually the hook name returned by the `add_*_page()` functions. Required |
| string[] | $columns An array of columns with column IDs as the keys and translated column names as the values. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
2.7.0
Source File
wp-admin/includes/list-table.php
Advertisement