PluginProbe
Mailrelay / 2.1.3
Mailrelay v2.1.3
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 2.1.3, at mailrelay.php

35 lines 884 B
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: 2.1.3
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', '2.1.3' );
17
18 require_once __DIR__ . '/inc/common.php';
19 require_once __DIR__ . '/inc/block-widgets.php';
20 require_once __DIR__ . '/inc/global-hooks.php';
21
22 if ( function_exists( 'is_admin' ) && is_admin() ) {
23
24 require_once __DIR__ . '/inc/class-mailrelaypages.php';
25
26 $mailrelay_pages = new MailrelayPages();
27 $mailrelay_pages->setup_hooks();
28
29 }
30
31 function mailrelay_wpforms() {
32 require_once __DIR__ . '/inc/class-mailrelay-wpforms.php';
33 }
34 add_action( 'wpforms_loaded', 'mailrelay_wpforms' );
35