# Booking slot duration

**URL:** <https://community.hivepress.io/t/booking-slot-duration/17296>\
**Category:** Bookings\
**Tags:** code\
**Created:** [December 27, 2025, 8:27am UTC](https://community.hivepress.io/t/booking-slot-duration/17296 "2025-12-27T08:27:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![horizonbookings.com](https://community.hivepress.io/user_avatar/community.hivepress.io/horizonbookings.com/32/12706_2.png) [@horizonbookings.com](https://community.hivepress.io/u/horizonbookings.com)\
**Post date:** [December 27, 2025, 8:27am UTC](https://community.hivepress.io/t/booking-slot-duration/17296/1 "2025-12-27T08:27:59Z")

</div>

How do I get rid of booking slot duration

---

<div class="post-metadata">

**Author:** ![kseniia](https://community.hivepress.io/user_avatar/community.hivepress.io/kseniia/32/13513_2.png) [@kseniia](https://community.hivepress.io/u/kseniia)\
**Post date:** [December 29, 2025, 4:58pm UTC](https://community.hivepress.io/t/booking-slot-duration/17296/2 "2025-12-29T16:58:59Z")

</div>

Hi,

If you don’t need the slot duration, you can disable time-based bookings. If you need to use time-based bookings, but don’t need the slot duration option, you can use a code snippet for that, but please note that further customization may be required:

```auto
add_filter(
	'hivepress/v1/forms/listing_update',
	function( $form ) {
		if ( isset( $form['fields']['booking_slot_duration'] ) ) {
			$form['fields']['booking_slot_duration']['required'] = false;
		}

		return $form;
	},
	1000
);

add_filter(
	'hivepress/v1/forms/listing_update',
	function( $form ) {
		unset( $form['fields']['booking_slot_duration'] );

		return $form;
	},
	1000
);

```

Hope this helps.

P.S. Please note that we have to move this topic to the Bookings forum category. Since it’s related to a premium extension, the forum category is restricted — please add the license key to the account settings or consider renewing support if you still need assistance related to the premium themes or extensions Renew Support | HivePress

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [January 28, 2026, 4:59pm UTC](https://community.hivepress.io/t/booking-slot-duration/17296/4 "2026-01-28T16:59:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
