/* Add to your admin CSS or a
Search

Sign up for Direct Your Labels®

""

SIGN UP FOR DIRECT YOUR LABELS®

Sign up here to register your organization for the Direct Your Labels program. You will need your organization’s W-9 form to register.

""
// 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);