PluginProbe
YayMail – WooCommerce Email Customizer / 4.3.2
YayMail – WooCommerce Email Customizer v4.3.2
4.4.4 4.4.3 4.4.2 4.4.1 trunk 1.9.6 2.1.4 2.1.5 3.2.2 3.2.6 3.2.7.1 3.2.8.1 3.2.9 3.3 3.3.1 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4 3.4.1 3.4.2 3.4.3 All 55 releases
yaymail / src / Constants / EmailTypes.php

EmailTypes.php in YayMail – WooCommerce Email Customizer 4.3.2, at src/Constants/EmailTypes.php

35 lines 845 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace YayMail\Constants;
4
5 use YayMail\Utils\SingletonTrait;
6
7 /**
8 * Email Types constants class
9 */
10 class EmailTypes {
11 use SingletonTrait;
12
13 protected function __construct() {
14 $this->define_constants();
15 }
16
17 protected function define_constants() {
18 if ( ! defined( 'YAYMAIL_NON_ORDER_EMAILS' ) ) {
19 define( 'YAYMAIL_NON_ORDER_EMAILS', 'NON_ORDER_EMAILS' );
20 }
21
22 if ( ! defined( 'YAYMAIL_WITH_ORDER_EMAILS' ) ) {
23 define( 'YAYMAIL_WITH_ORDER_EMAILS', 'WITH_ORDER_EMAILS' );
24 }
25
26 if ( ! defined( 'YAYMAIL_ALL_EMAILS' ) ) {
27 define( 'YAYMAIL_ALL_EMAILS', 'ALL_EMAILS' );
28 }
29
30 if ( ! defined( 'YAYMAIL_GLOBAL_HEADER_FOOTER_ID' ) ) {
31 define( 'YAYMAIL_GLOBAL_HEADER_FOOTER_ID', 'GLOBAL_HEADER_FOOTER_ID' );
32 }
33 }
34 }
35