Hello! I am just trying to find a snippet to make the Booking Note required. I tried the following with no success.
add_filter(
'hivepress/v1/forms/listing_update',
function( $form ) {
if ( isset( $form['fields']['booking_note'] ) ) {
$form['fields']['booking_note']['required'] = true;
}
return $form;
},
1000
);