-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththemeplus.php
More file actions
41 lines (36 loc) · 1006 Bytes
/
themeplus.php
File metadata and controls
41 lines (36 loc) · 1006 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
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* Plugin Name: ThemePlus
* Plugin URI: https://www.fronttheme.com/products/themeplus
* Description: A modern theme options framework for WordPress
* Version: 1.0.0
* Author: Faruk Ahmed
* Author URI: https://fronttheme.com
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: themeplus
* Domain Path: /languages
* Requires at least: 6.8
* Requires PHP: 8.0
*
* @package ThemePlus
*/
// Exit if accessed directly
if (!defined('ABSPATH')) {
exit;
}
// Define plugin constants
define('THEMEPLUS_VERSION', '1.0.0');
define('THEMEPLUS_FILE', __FILE__);
define('THEMEPLUS_PATH', plugin_dir_path(__FILE__));
define('THEMEPLUS_URL', plugin_dir_url(__FILE__));
define('THEMEPLUS_BASENAME', plugin_basename(__FILE__));
// Require the main plugin class
require_once THEMEPLUS_PATH . 'includes/class-themeplus.php';
/**
* Initialize the plugin
*/
function themeplus_init(): ?ThemePlus {
return ThemePlus::instance();
}
themeplus_init();