PluginProbe
Email Templates Customizer and Designer for WordPress and WooCommerce / trunk
Email Templates Customizer and Designer for WordPress and WooCommerce vtrunk
1.5.13 1.5.14 trunk 1.0.1 1.0.2 1.1 1.1.1 1.1.2 1.1.2.1 1.1.3 1.1.3.1 1.1.4 1.2 1.2.1 1.2.2 1.2.2.1 1.2.2.2 1.2.2.3 1.3 1.3.1 1.3.1.1 1.3.1.2 1.3.2 1.3.2.1 1.4 All 40 releases
email-templates / email-templates.php

email-templates.php in Email Templates Customizer and Designer for WordPress and WooCommerce trunk, at email-templates.php

44 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Email Templates
4 *
5 * @link https://www.wpexperts.io/
6 * @since 2.0
7 * @package Mailtpl
8 *
9 * @wordpress-plugin
10 * Plugin Name: Email Templates
11 * Plugin URI: http://wordpress.org/plugins/email-templates
12 * Description: Beautify WordPress default emails
13 * Version: 1.5.14
14 * Requires at least: 4.8
15 * Requires PHP: 7.1
16 * Tested up to: 7.0
17 * Author: WPExperts.io
18 * Author URI: https://www.wpexperts.io/
19 * License: GPL-2.0+
20 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
21 * Text Domain: email-templates
22 * Domain Path: /languages
23 */
24
25 if ( ! defined( 'WPINC' ) ) {
26 die;
27 }
28
29 define( 'MAILTPL_VERSION', '1.5.14' );
30 define( 'MAILTPL_PLUGIN_FILE', __FILE__ );
31 define( 'MAILTPL_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
32 define( 'MAILTPL_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
33 define( 'MAILTPL_PLUGIN_HOOK', basename( __DIR__ ) . '/' . basename( __FILE__ ) );
34 define( 'MAILTPL_WOOMAIL_PATH', realpath( plugin_dir_path( __FILE__ ) ) . DIRECTORY_SEPARATOR );
35
36 require_once MAILTPL_PLUGIN_DIR . 'includes/functions.php';
37 require_once MAILTPL_PLUGIN_DIR . 'class-mailtpl-woomail-composer.php';
38 require_once MAILTPL_PLUGIN_DIR . 'includes/class-mailtpl-plugin-check.php';
39
40 mailtpl_email_templates();
41
42 // @todo development filter after done remove this filter.
43 add_filter( 'mailtpl_woomail_is_dedicated_for_woocommerce_active', '__return_true' );
44