generated from alleyinteractive/create-wordpress-plugin
-
Notifications
You must be signed in to change notification settings - Fork 3
/
autoblogging-pro.php
43 lines (35 loc) · 998 Bytes
/
autoblogging-pro.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
<?php
/**
* Plugin Name: AutoBlogging Pro
* Plugin URI: https://autoblogging.pro
* Description: Automatically fetch and publish articles from AutoBlogging Pro.
* Version: 1.0
* Author: Essa Mamdani
* Author URI: https://autoblogging.pro
* Requires at least: 5.9
* Tested up to: 6.2
*
* Text Domain: autoblogging-pro
* Domain Path: /languages/
*
* @package autoblogging-pro
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Root directory to this plugin.
*/
define( 'AUTOBLOGGING_PRO_DIR', __DIR__ );
define( 'AUTOBLOGGING_PRO_URL', plugin_dir_url( __FILE__ ) );
define( 'AUTOBLOGGING_PRO_FILE', __FILE__ );
define( 'AUTOBLOGGING_PRO_VERSION', '1.0' );
define( 'AUTOBLOGGING_PRO_NAME', 'AutoBlogging Pro' );
define( 'AUTOBLOGGING_PRO_API_URL', 'https://app.autoblogging.pro/' );
// Load the plugin's main files.
require_once __DIR__ . '/src/class-autoblogging-pro.php';
require_once __DIR__ . '/src/meta.php';
/**
* Instantiate the plugin.
*/
AutoBlogging_Pro::instance();