-
Notifications
You must be signed in to change notification settings - Fork 0
/
integration-toolkit-for-beehiiv.php
51 lines (43 loc) · 1.3 KB
/
integration-toolkit-for-beehiiv.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
45
46
47
48
49
50
51
<?php
/**
* Plugin Name: beehiiv to WordPress - Publish beehiiv newsletters as posts
* Plugin URI: https://refact.co/
* Description: Effortlessly connect content and subscription capabilities with your WordPress site.
* Version: 2.0.1
* Author: Refact.co
* Author URI: https://refact.co
* License: GPL2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: integration-toolkit-for-beehiiv
* Domain Path: /languages
* Requires at least: 5.5.0
* Tested up to: 6.6.1
* Requires PHP: 7.4
*
* @package Integration_Toolkit_For_Beehiiv
**/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
// Load Plugin File autoload.
require_once __DIR__ . '/vendor/autoload.php';
if ( ! defined( 'ITFB_VERSION' ) ) {
define( 'ITFB_VERSION', '2.0.1' );
}
if ( ! defined( 'ITFB_URL' ) ) {
define( 'ITFB_URL', plugin_dir_url( __FILE__ ) );
}
if ( ! defined( 'ITFB_PATH' ) ) {
define( 'ITFB_PATH', plugin_dir_path( __FILE__ ) );
}
if ( ! defined( 'ITFB_FILE' ) ) {
define( 'ITFB_FILE', __FILE__ );
}
/**
* Run the loader to initialize the plugin.
*/
function itfb_run_integration_toolkit_for_beehiiv() {
return ITFB\Init::get_instance();
}
itfb_run_integration_toolkit_for_beehiiv();