Hi,
You can try this sample code snippet:
add_filter(
'hivepress/v1/models/listing/attributes',
function( $attributes ) {
$attributes['test'] = [
'editable' => true,
'edit_field' => [
'type' => 'repeater',
'label' => 'Test',
'_order' => 123,
'fields' => [
'title' => [
'type' => 'text',
'placeholder' => 'Title',
],
'description' => [
'type' => 'text',
'placeholder' => 'Description',
],
],
],
];
return $attributes;
}
);
We also plan to make this field type available in the Attributes UI.