PluginProbe
Yatra – Travel Booking & Tour Operator Software / 2.2.10
Yatra – Travel Booking & Tour Operator Software v2.2.10
3.0.14 3.0.14.1 3.0.14.2 3.0.12 3.0.13 3.0.11 3.0.10 3.0.9 3.0.8 3.0.7 3.0.6 3.0.5 3.0.5.1 3.0.4 3.0.3 3.0.2.9 3.0.2.7 3.0.2.8 3.0.2.6 trunk 1.0.0 2.0.0 2.0.1 2.0.10 2.0.11 All 82 releases
yatra / core / Admin / Emails / CustomerEmail.php

CustomerEmail.php in Yatra – Travel Booking & Tour Operator Software 2.2.10, at core/Admin/Emails/CustomerEmail.php

56 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Yatra\Core\Admin\Emails;
4
5 class CustomerEmail
6 {
7
8 public static function get_booking_completed_message()
9 {
10 return EmailTemplates::get_template(apply_filters(
11 'yatra_booking_email_notification_message_to_customer',
12
13 get_option('yatra_booking_notification_email_content_for_customer',
14 DefaultEmailMessages::get_booking_email_notification_message_to_customer()
15 )
16 ));
17
18 }
19
20 public static function get_booking_completed_subject()
21 {
22 return apply_filters(
23 'yatra_booking_email_notification_subject_to_customer',
24
25 get_option('yatra_booking_notification_email_subject_for_customer',
26 DefaultEmailMessages::get_booking_email_notification_subject_to_customer()
27 )
28 );
29 }
30
31 public static function get_booking_status_change_message()
32 {
33 return EmailTemplates::get_template(apply_filters(
34 'yatra_booking_status_change_email_notification_message_to_customer',
35
36 get_option('yatra_booking_status_change_notification_email_content_for_customer',
37 DefaultEmailMessages::get_booking_status_change_email_notification_message_to_customer()
38 )
39 ));
40 }
41
42 public static function get_booking_status_change_subject()
43 {
44 return apply_filters(
45
46 'yatra_booking_status_change_email_notification_subject_to_customer',
47
48 get_option('yatra_booking_status_change_notification_email_subject_for_customer',
49
50 DefaultEmailMessages::get_booking_status_change_email_notification_subject_to_customer()
51 )
52 );
53 }
54
55 }
56