forked from CodesVault/kathamo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.php
More file actions
30 lines (24 loc) · 698 Bytes
/
Copy pathplugin.php
File metadata and controls
30 lines (24 loc) · 698 Bytes
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
<?php
/**
* @package kathamo
*
* Plugin Name: Kathamo
* Plugin URI:
* Description: A Framework For WordPress plugin development.
* Version: 1.0.0
* Author: CodesVault
* Author URI: https://github.com/CodesVault
* License: GPLv2 or later
* Text Domain: kathamo
*/
use Kathamo\App\Core\Core;
if ( ! defined( 'ABSPATH' ) ) die();
define( 'KATHAMO_FILE', __FILE__ );
require_once __DIR__ . '/Configs/bootstrap.php';
// autoload thirdparty libraries.
if ( file_exists( KATHAMO_DIR_PATH . '/vendor/autoload.php' ) ) {
require_once KATHAMO_DIR_PATH . '/vendor/autoload.php';
}
// autoload plugin's classes.
require_once KATHAMO_DIR_PATH . '/Configs/autoloader.php';
Core::getInstance();