Applied to the list of columns to print on the manage Pages Screen. Filter function argument/return value is an associative array where the element key is the name of the column, and the value is the header text for that column.
See also the action manage_pages_custom_column, which alters the column information for each page in the edit table.
Note: Listed in order of appearance. By default, all columns supported by the post type are shown.
Post title.
Includes "edit", "quick edit", "trash" and "view" links. If $mode (set from $_REQUEST['mode']) is 'excerpt', a post excerpt is included between the title and links.
<?php function my_custom_pages_columns( $columns ) { /** Add a Thumbnail Column **/ $myCustomColumns = array( 'thumbnail' => __( 'Thumbnail', 'Aternus' ) ); $columns = array_merge( $columns, $myCustomColumns ); /** Remove a Author, Comments Columns **/ unset( $columns['author'], $columns['comments'] ); return $columns; } add_filter( 'manage_pages_columns', 'my_custom_pages_columns' ); ?>