__('Address','dbem'), 'town' => __('Town','dbem'), 'state' => __('State','dbem'), 'country' => __('Country','dbem') )); } function columns_output( $column ) { global $post; if( $post->post_type == EM_POST_TYPE_LOCATION ){ $post = em_get_location($post); switch ( $column ) { case 'address': echo $post->location_address; break; case 'town': echo $post->location_town; break; case 'state': echo $post->location_state; break; case 'country': echo $post->location_country; break; } } } } EM_Location_Posts_Admin::init();