/* Add to your admin CSS or a
Skip to content
// Add thumbnail column to product admin list
add_filter('manage_product_posts_columns', function($columns) {
$new = ['cb' => $columns['cb'], 'thumbnail' => 'Image'];
return array_merge($new, $columns);
});
add_action('manage_product_posts_custom_column', function($column, $post_id) {
if ($column === 'thumbnail') {
echo get_the_post_thumbnail($post_id, [60, 60]);
}
}, 10, 2);