-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcardanopress-framework.php
More file actions
40 lines (34 loc) · 1.05 KB
/
cardanopress-framework.php
File metadata and controls
40 lines (34 loc) · 1.05 KB
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 // phpcs:ignore PSR1.Files.SideEffects.FoundWithSymbols
/**
* Plugin Name: CardanoPress - 0 - Framework
* Plugin URI: https://github.com/CardanoPress/framework
* Author: Gene Alyson Fortunado Torcende
* Author URI: https://cardanopress.io
* Description: A ThemePlate project for Cardano WordPress integration
* Version: DEV-LATEST
* License: GPL-2.0-only
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
*
* Text Domain: cardanopress
*
* Requires at least: 5.9
* Requires PHP: 7.4
*
* @package ThemePlate
* @since 0.1.0
*/
// Accessed directly
if (! defined('ABSPATH')) {
exit;
}
/* ==================================================
Global constants
================================================== */
if (! defined('JETPACK_AUTOLOAD_DEV')) {
define('JETPACK_AUTOLOAD_DEV', true);
}
if (! defined('CARDANOPRESS_FRAMEWORK_FILE')) {
define('CARDANOPRESS_FRAMEWORK_FILE', __FILE__);
}
// Load the main plugin class
require_once plugin_dir_path(CARDANOPRESS_FRAMEWORK_FILE) . 'vendor/autoload_packages.php';