| @@ -20,13 +20,13 @@ | ||
| 20 | 20 | $email_title = timetics_get_option( 'booking_canceled_host_email_title' ); |
| 21 | 21 | $email_title = ! empty( $email_title ) ? $email_title : $this->get_title(); |
| 22 | 22 | |
| 23 | 23 | $placeholders = [ |
| 24 | - '{%meeting_title%}' => $this->meeting->name, | |
| 24 | + '{%meeting_title%}' => $this->meeting->get_name(), | |
| 25 | 25 | '{%meeting_date%}' => $date, |
| 26 | 26 | '{%meeting_time%}' => $time, |
| 27 | 27 | '{%meeting_location%}' => $location, |
| 28 | - '{%meeting_duration%}' => $this->meeting->duration, | |
| 28 | + '{%meeting_duration%}' => $this->meeting->get_duration(), | |
| 29 | 29 | '{%host_name%}' => $staff_name, |
| 30 | 30 | '{%host_email%}' => $this->staff->get_email(), |
| 31 | 31 | '{%customer_name%}' => $customer_name, |
| 32 | 32 | '{%customer_email%}' => $customer_email, |
| @@ -43,9 +43,9 @@ | ||
| 43 | 43 | </h3> |
| 44 | 44 | </div> |
| 45 | 45 | |
| 46 | 46 | <?php if ( $email_body ): ?> |
| 47 | - <?php echo timetics_replace_placeholder( $email_body, $placeholders ); ?> | |
| 47 | + <?php echo wp_kses( timetics_replace_placeholder( $email_body, $placeholders ), 'post' ); ?> | |
| 48 | 48 | <?php else: ?> |
| 49 | 49 | <p class="greeting" style="color: #556880; margin-bottom: 5px"> |
| 50 | 50 | <?php printf( esc_html__( 'Hi %s,', 'timetics' ), esc_html( $staff_name ) );?> |
| 51 | 51 | </p> |