generated from niiknow/vue-wp-plugin-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wp-brxmailer.php
44 lines (39 loc) · 1.05 KB
/
wp-brxmailer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* Plugin Name: Brxmailer
* Version: 1.0.0
* Plugin URI:
* Description: Brick, Inc. Mailer Integration for WP Mail SMTP
* Author: noogen
* Author URI:
* Requires at least: 5.6
* Tested up to: 5.9.3
* Requires PHP: 7.4
*
* Text Domain: brxmailer
* Domain Path: /languages/
*
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
// don't call the file directly
if (!defined('ABSPATH')) {
exit;
}
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| this application. We just need to utilize it! We'll simply require it
| into the script here so we don't need to manually load our classes.
|
*/
require __DIR__ . '/vendor/autoload.php';
/**
* Returns the main instance to prevent the need to use globals.
*/
$instance = \Brxmailer\Main::get_instance(__FILE__, '1.0.0');
$instance->run();
return $instance;