Admin Panelde post thumbnail göstermek

Aşağıdaki satırları function.php dosyasına ekliyoruz;

add_filter('manage_posts_columns', 'posts_columns', 5);
add_action('manage_posts_custom_column', 'posts_custom_columns', 5, 2);
function posts_columns($defaults){
    $defaults['voodoo_post_thumbs'] = __('Thumbs');
    return $defaults;
}
function posts_custom_columns($column_name, $id){
	if($column_name === 'voodoo_post_thumbs'){
        echo the_post_thumbnail( 'admin-thumb' );
    }
}
add_action('admin_head', 'my_custom_fonts');
function my_custom_fonts() {
  echo '<style>.attachment-admin-thumb.wp-post-image {height: 100%; width: 120px;}</style>';
}