Display booking settings in the secondary attributes area

Hi,

If you need to change their descriptions, please try this PHP snippet:

add_filter( 'hivepress/v1/models/listing/attributes', 'custom_change_listing_attributes', 1000 );
add_filter( 'hivepress/v1/models/vendor/attributes', 'custom_change_listing_attributes', 1000 );

function custom_change_listing_attributes( $attributes ) {
 
  // Minimum Booking Duration field description.
  if ( isset( $attributes['booking_min_length'] ) ) {
   $attributes['booking_min_length']['edit_field']['description'] = 'custom text here';
  }
  
  // Maximum Booking Duration field description.
  if ( isset( $attributes['booking_max_length'] ) ) {
   $attributes['booking_max_length']['edit_field']['description'] = 'custom text here';
  }
  
  // Booking Window field description.
  if ( isset( $attributes['booking_window'] ) ) {
   $attributes['booking_window']['edit_field']['description'] = 'custom text here';
  }
  
  // Booking Note field description.
  if ( isset( $attributes['purchase_note'] ) ) {
   $attributes['purchase_note']['edit_field']['description'] = 'custom text here';
  }
 
  return $attributes;
}

To rename these attributes, please use Loco Translate (How to translate an extension - HivePress Help Center).

If customizations are required for your site, please try customizing it using the collection of code snippets Search · user:hivepress · GitHub and other developer resources, or consider hiring someone for custom work https://fvrr.co/32e7LvY