function manage_wp_theatre_prod_posts_custom_column($column_name, $post_id) { $production = new WPT_Production($post_id); switch ($column_name) { case 'thumbnail': echo $production->thumbnail_html(); break; case 'dates': echo $production->dates() . '<br />'; echo $production->cities(); break; } }