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:
- Clear the check-in date
- Clear the check-out date
- Reset any related booking calculations