PluginProbe
Easy Invoice – Invoice Generator, PDF Quotes & Payments / 2.4.1
Easy Invoice – Invoice Generator, PDF Quotes & Payments v2.4.1
2.4.0 2.4.1 2.3.8 2.3.7 2.3.6 2.3.5 2.3.4 2.3.3 2.3.2 2.3.1 2.2.0 2.1.21 2.1.20 2.1.19 2.1.18 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.2 All 57 releases
easy-invoice / includes / Helpers / EmailHelper.php

EmailHelper.php in Easy Invoice – Invoice Generator, PDF Quotes & Payments 2.4.1, at includes/Helpers/EmailHelper.php

41 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6 // Email Settings Helper Functions
7 function easy_invoice_is_invoice_email_enabled(): bool {
8 return \EasyInvoice\Controllers\SettingsController::isInvoiceEmailEnabled();
9 }
10
11 function easy_invoice_get_invoice_email_subject(): string {
12 return \EasyInvoice\Controllers\SettingsController::getInvoiceEmailSubject();
13 }
14
15 function easy_invoice_get_invoice_email_body(): string {
16 return \EasyInvoice\Controllers\SettingsController::getInvoiceEmailBody();
17 }
18
19 function easy_invoice_is_quote_email_enabled(): bool {
20 return \EasyInvoice\Controllers\SettingsController::isQuoteEmailEnabled();
21 }
22
23 function easy_invoice_get_quote_email_subject(): string {
24 return \EasyInvoice\Controllers\SettingsController::getQuoteEmailSubject();
25 }
26
27 function easy_invoice_get_quote_email_body(): string {
28 return \EasyInvoice\Controllers\SettingsController::getQuoteEmailBody();
29 }
30
31 function easy_invoice_is_payment_email_enabled(): bool {
32 return \EasyInvoice\Controllers\SettingsController::isPaymentEmailEnabled();
33 }
34
35 function easy_invoice_get_payment_email_subject(): string {
36 return \EasyInvoice\Controllers\SettingsController::getPaymentEmailSubject();
37 }
38
39 function easy_invoice_get_payment_email_body(): string {
40 return \EasyInvoice\Controllers\SettingsController::getPaymentEmailBody();
41 }