I have a client site which accepts images from users as posts. For moderation, we are opening each draft post which obviously takes a lot of time if a hefty amount of images are moderated.
So, Is there a way to show featured images of the post on the admin post list page as a column?
This is what I’m using, cobbled together from snippets found online… It’s uses a filter on
manage_posts_colummns
to re-jig the headers and an action onmanage_posts_custom_column
to add the row level data.You can also use this on custom post types by filtering on
manage_CPTNAME_posts_columns
.Use this hook to add custom column to admin post/page list view.
Put this code in your
functions.php
Based on @Mangesh Parte code, you can have featured image at first column, before title.
This code shows how to add the featured image column to a ‘books’ custom post type (CPT). Replace in the first line word ‘books’ with the slug of your custom post type.
You can find more information here
https://codex.wordpress.org/Plugin_API/Action_Reference/manage_$post_type_posts_custom_column