/**
  * Get meta type value.
  *
  * @param  Papi_Entry_Type $entry_type
  *
  * @return string
  */
 protected function get_meta_type_value($entry_type)
 {
     if (in_array($entry_type->get_type(), ['attachment'], true)) {
         return $entry_type->get_type();
     }
     switch (papi_get_meta_type($entry_type->get_type())) {
         case 'post':
             return implode(', ', $entry_type->post_type);
         case 'term':
             return implode(', ', $entry_type->taxonomy);
         default:
             return 'n/a';
     }
 }