I’m sorry for the delay. Please try this code snippet:
add_filter(
'hivepress/v1/emails/booking_confirm_user',
function( $email ) {
if ( isset( $email['tokens']['listing'] ) ) {
$listing = $email['tokens']['listing'];
if ( $listing->get_purchase_note() ) {
$email['tokens']['booking_note'] = $listing->get_purchase_note();
}
}
return $email;
}
);
Then the %booking_note%
token should become available.