The BBH Booking Form plugin create a simple, customizable and clean booking form to connect your BeBetterHotels customer id with our search engine.
The plugin sends the catched fields trought your webform to the website https://clickandbook.net without share any aditional information.
BeBetterHotels terms and privacy policy
- PHP 7.4 or higher
- WordPress 5.2.0 or higher
- A BeBetterHotels customer id
- Upload the plugin to the '/wp-content/plugins/' directory.
- Activate the plugin through the 'Plugins' menu in WordPress.
- Configure the UI aspects of the plugin in submenu: Tools > BeBetterHotels
- Availables Shortcodes: [bebetterhotels]
- Parameters
- customer: : BeBetterHotels Customer ID
- adults_field: Determine if the field is required or optional - allow values: 'required' or blank
- childrens_field: Determine if the field is required or optional - allow values: 'required' or blank
- show_childrens: Show or Hide Childrens Dropdown field - allow values: 'yes' or 'no'
- Example:
[bebetterhotels customer="dummyhotel" adults_field="required" childrens_field="required" show_childrens="yes"]
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.