PluginProbe
Mailrelay / 3.0.2
Mailrelay v3.0.2
3.0 3.0.1 3.0.2 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.8.0 1.8.1 2.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.2 2.1.3
mailrelay / mailrelay.php

mailrelay.php in Mailrelay 3.0.2, at mailrelay.php

52 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
2 /**
3 * Plugin Name: Mailrelay
4 * Plugin URI: https://mailrelay.com
5 * Description: Synchronize your WordPress users with Mailrelay
6 * Version: 3.0.2
7 * Author: Mailrelay
8 * Text Domain: Mailrelay
9 * Domain Path: /languages
10 */
11
12 if ( ! defined( 'ABSPATH' ) ) {
13 die( 'Access Denied.' );
14 }
15
16 define( 'MAILRELAY_PLUGIN_VERSION', '3.0.2' );
17
18 if ( ! defined( 'MAILRELAY_BASE_DOMAIN' ) ) {
19 define( 'MAILRELAY_BASE_DOMAIN', 'ipzmarketing.com' );
20 }
21
22 require_once __DIR__ . '/libraries/action-scheduler/action-scheduler.php';
23
24 require_once __DIR__ . '/inc/common.php';
25 require_once __DIR__ . '/inc/block-widgets.php';
26 require_once __DIR__ . '/inc/global-hooks.php';
27
28 if ( function_exists( 'is_admin' ) && is_admin() ) {
29
30 require_once __DIR__ . '/inc/class-mailrelay-pages.php';
31
32 $mailrelay_pages = new MailrelayPages();
33 $mailrelay_pages->setup_hooks();
34
35 }
36
37
38 add_action(
39 'wpforms_loaded',
40 function () {
41 require_once __DIR__ . '/inc/class-mailrelay-wpforms.php';
42 }
43 );
44
45 require_once __DIR__ . '/inc/class-mailrelay-woocommerce.php';
46 add_action(
47 'plugins_loaded',
48 function () {
49 MailrelayWoocommerce::instance()->setup_hooks();
50 }
51 );
52