How can I set a default value for a listing attribute and hide it from listing creation

Please try this PHP snippet but please note that it can require further customization

add_action('hivepress/v1/models/listing/create', function($listing_id) {
	if(hivepress()->get_version( 'bookings' )){
		update_post_meta($listing_id, 'hp_booking_slot_duration', 10);
		update_post_meta($listing_id, 'hp_booking_min_time', 0);
		update_post_meta($listing_id, 'hp_booking_max_time', 0);
		update_post_meta($listing_id, 'hp_booking_slot_interval', 10);
		update_post_meta($listing_id, 'hp_booking_moderated', true);	
	}
});

add_filter(
	'hivepress/v1/models/listing/attributes',
	function( $attributes ) {
		if ( isset($attributes['booking_slot_duration']) ) {
			$attributes['booking_slot_duration']['editable'] = false;
		}
		
		if ( isset($attributes['booking_min_time']) ) {
			$attributes['booking_min_time']['editable'] = false;
		}
		
		if ( isset($attributes['booking_max_time']) ) {
			$attributes['booking_max_time']['editable'] = false;
		}
		
		if ( isset($attributes['booking_slot_interval']) ) {
			$attributes['booking_slot_interval']['editable'] = false;
		}
		
		if ( isset($attributes['booking_moderated']) ) {
			$attributes['booking_moderated']['editable'] = false;
		}

		return $attributes;
	}
);