-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaugment-types.php
40 lines (34 loc) · 1.04 KB
/
augment-types.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
<?php
/**
* Plugin Name: Augment Types
* Plugin URI: https://github.com/kermage/augment-types
* Author: Gene Alyson Fortunado Torcende
* Author URI: https://genealysontorcende.wordpress.com/
* Description: Add essential functionalities to WordPress Post Types.
* Version: 1.18.0
* License: GNU General Public License v3.0
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
*
* Text Domain: augment-types
*
* Requires at least: 5.9
* Requires PHP: 7.4
*
* @package Augment Types
* @since 0.1.0
*/
// Accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/* ==================================================
Global constants
================================================== */
if ( ! defined( 'AUGMENT_TYPES' ) ) {
define( 'AUGMENT_TYPES', __FILE__ );
}
// Autoload classes with Composer
require_once plugin_dir_path( AUGMENT_TYPES ) . 'vendor/autoload.php';
// Get the Augment Types plugin running
AugmentTypes::instance();
register_activation_hook( AUGMENT_TYPES, array( AugmentTypes::class, 'activate' ) );