diff --git a/src/Pods/Admin/Config/Pod.php b/src/Pods/Admin/Config/Pod.php
index bc7b121068..4425ebbeea 100644
--- a/src/Pods/Admin/Config/Pod.php
+++ b/src/Pods/Admin/Config/Pod.php
@@ -1623,15 +1623,42 @@ public function get_fields( \Pods\Whatsit\Pod $pod, array $tabs ) {
$options['admin-ui']['ui_fields_manage']['default'][] = 'modified';
}
- foreach ( $pod['fields'] as $field ) {
- $type = '';
+ $field_types = PodsForm::field_types();
- if ( isset( $field_types[ $field['type'] ] ) ) {
- $type = ' (' . $field_types[ $field['type'] ]['label'] . ')';
+ foreach ( $pod['fields'] as $field ) {
+ $field_label = $field['label'];
+
+ if ( 1 === (int) pods_v( 'pods_debug_ui' ) ) {
+ $extra_info = [];
+
+ $extra_info[] = sprintf(
+ '%s: %s',
+ __( 'ID', 'pods' ),
+ $field['id']
+ );
+
+ $extra_info[] = sprintf(
+ '%s: %s',
+ __( 'Name', 'pods' ),
+ $field['name']
+ );
+
+ if ( isset( $field_types[ $field['type'] ] ) ) {
+ $extra_info[] = sprintf(
+ '%s: %s',
+ __( 'Type', 'pods' ),
+ $field_types[ $field['type'] ]['label']
+ );
+ }
+
+ $field_label .= sprintf(
+ ' [%s]',
+ implode( '; ', $extra_info )
+ );
}
- $options['admin-ui']['ui_fields_manage']['data'][ $field['name'] ] = $field['label'] . $type;
- $options['admin-ui']['ui_filters']['data'][ $field['name'] ] = $field['label'] . $type;
+ $options['admin-ui']['ui_fields_manage']['data'][ $field['name'] ] = $field_label;
+ $options['admin-ui']['ui_filters']['data'][ $field['name'] ] = $field_label;
}
$options['admin-ui']['ui_fields_manage']['data']['id'] = 'ID';