staff->get_display_name(); $customer_name = $this->customer->get_display_name(); $customer_email = $this->customer->get_email(); $title = $this->get_title(); $description = $this->meeting->get_description(); $location = $this->booking->get_location(); $location_type = $this->booking->get_location_type(); $event = $this->booking->get_event(); $join_link = 'google-meet' === $location_type && ! empty( $event['hangoutLink'] ) ? $event['hangoutLink'] : ''; $timezone = $this->booking->get_timezone(); $staff_timezone = $this->meeting->get_timezone(); $dt = timetics_convert_timezone( $this->booking->get_start_date() . ' ' . $this->booking->get_start_time(), $timezone, $staff_timezone ); $day = $dt->format('l'); $time = $dt->format('h:i a'); $date = $dt->format('d F Y'); $email_body = timetics_get_option( 'booking_created_host_email_body' ); $email_title = timetics_get_option( 'booking_created_host_email_title' ); $email_title = ! empty( $email_title ) ? $email_title : $this->get_title(); $meeting_id = $this->meeting->get_id(); $booking_cancel_url = $this->meeting->get_appointment_permalink() . '?id=' . $this->booking->get_id() . '&meeting_id=' . $this->meeting->get_id() .'&booking_action=cancel'. '&appointment_token=' . $this->booking->get_security_token(); $booking_reschedule_url = $this->meeting->get_appointment_permalink() . '?id=' . $this->booking->get_id() . '&meeting_id=' . $this->meeting->get_id() . '&booking_action=reschedule'. '&appointment_token='. $this->booking->get_security_token(); $placeholders = [ '{%meeting_title%}' => $this->meeting->get_name(), '{%meeting_date%}' => $date, '{%meeting_time%}' => $time, '{%meeting_location%}' => $location, '{%meeting_duration%}' => $this->meeting->get_duration(), '{%host_name%}' => $staff_name, '{%host_email%}' => $this->staff->get_email(), '{%customer_name%}' => $customer_name, '{%customer_email%}' => $customer_email, ]; ?>