-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbase-wp-plugin.php
47 lines (40 loc) · 1.09 KB
/
base-wp-plugin.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
<?php
/**
* Plugin Name: Base WP Plugin
* Plugin URI: https://sarahjobs.com/wordpress/plugins/base-wp-plugin
* Description: Starter WordPress plugin.
* Version: 1.0.0
* Requires at least: 5.3
* Requires PHP: 7.2
* Author: Sarah Siqueira
* Author URI: https://sarahjobs.com/about
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl.html
* Text Domain: base-wp-plugin
* Domain Path: /languages
* Update URI: https://sarahjobs.com/wordpress/plugins/base-wp-plugin/update
*
* @package BaseWpPlugin
*/
/**
* Exit is accessed directly.
*/
defined( 'ABSPATH' ) || exit;
/**
* Define essential constants.
*/
define( 'BASEWPPLUGIN_VERSION', '1.0.0' );
define( 'BASEWPPLUGIN_PHP_MINIMUM', '7.4.0' );
define( 'BASEWPPLUGIN_WP_MINIMUM', '6.4.0' );
/**
* Composer Autoload
*/
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once __DIR__ . '/vendor/autoload.php';
}
/**
* Bootstraps the plugin
*/
use BaseWpPlugin\Inc\Init;
$init = new Init();
$init->register_classes_list();