Skip to main content
View Categories

Clear Dates Button Shortcode

< 1 min read

The [homerunner-clear-dates-btn] shortcode displays a button that clears the selected dates from the booking form.

Basic Usage #

[homerunner-clear-dates-btn]

Overview #

This is a utility shortcode that adds a button to clear the selected check-in and check-out dates from the booking form. It’s particularly useful when you want to give users an easy way to reset their date selection.

Parameters #

This shortcode does not accept any parameters. It will automatically work with the booking form on the page where it is placed.

Example Implementation #

[homerunner-clear-dates-btn]

When clicked, this button will:

  1. Clear the check-in date
  2. Clear the check-out date
  3. Reset any related booking calculations