On this page
apply_filters( "manage_{$screen->id}_columns", string[] $columns )
Filters the column headers for a list table on a specific screen.
Description
The dynamic portion of the hook name, $screen->id, refers to the ID of a specific screen. For example, the screen ID for the Posts list table is edit-post, so the filter for that screen would be manage_edit-post_columns.
Parameters
$columnsstring[]-
The column header labels keyed by column ID.
Source
File: wp-admin/includes/screen.php. View all references
$column_headers[ $screen->id ] = apply_filters( "manage_{$screen->id}_columns", array() );
Related
Used By
| Used By | Description |
|---|---|
| get_column_headers() wp-admin/includes/screen.php | Get the column headers for a screen |
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/manage_screen-id_columns