Combined with the manage_pages_columns filter, this allows you to add or remove (unset) custom columns to the list page pages. Note that if you are using custom post types and it has 'hierarchical' => true, then you will need to use this action hook and not manage_$post_type_posts_custom_column.
A registered action function is passed the following parameters.
Default: None
Default: None
Once you have added your column (for this example, thumbnail), we are now going to set the featured image to display for that page in the new thumbnail column.
function custom_page_column_content( $column_name, $post_id ) { if ( $column_name == 'thumbnail' ) { $post_thumbnail_id = get_post_thumbnail_id( $post_id ); if ( $post_thumbnail_id ) { $post_thumbnail_img = wp_get_attachment_image_src( $post_thumbnail_id, 'thumbnail' ); echo '<img src="' . $post_thumbnail_img[0] . '" />'; } } } add_action( 'manage_pages_custom_column', 'custom_page_column_content', 10, 2 );