Add Text to Booking Form Calendar

Is there a snippet where I can add some example text to the booking form calendar??

Adding it inside the date picker is not possible via API at the moment, but this may be possible in the booking form (before any field or the form itself), let me know if this works for you.

Yes, this will be fine!

Hi,

Please use this PHP snippet:


add_filter(
	'hivepress/v1/forms/booking_make',
	function( $form ) {
		$form['description'] = 'custom text here';

		return $form;
	},
  1000
);

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