-
Notifications
You must be signed in to change notification settings - Fork 0
/
bulkboy.php
41 lines (33 loc) · 884 Bytes
/
bulkboy.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
<?php
/**
* Bulkboy plugin.
*
* @package Bulkboy
* @since 1.0.1
*
* @wordpress-plugin
* Plugin Name: Bulkboy
* Plugin URI: https://coderjerk.com/bulkboy
* Description: Bulk add pages, posts and custom post types.
* Version: 1.0.1
* License: GPLv3
* Text Domain: bulkboy
* Author: Dan Devine <[email protected]>
* Author URI: https://coderjerk.com
*/
use Bulkboy\Setup\Admin;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
require_once( ABSPATH . '/wp-includes/pluggable.php' );
require_once __DIR__ . '/vendor/autoload.php';
if ( ! defined( 'BULKBOY_PLUGIN_URL' ) ) {
define( 'BULKBOY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
}
if ( ! defined( 'BULKBOY_PLUGIN_PATH' ) ) {
define( 'BULKBOY_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
}
define( 'BULKBOY_CURRENT_VERSION', '1.0.1' );
$admin = new Admin( 'Bulkboy' );
$admin->add_actions();
$admin->add_styles();