-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwpessential.php
More file actions
42 lines (37 loc) · 1.32 KB
/
wpessential.php
File metadata and controls
42 lines (37 loc) · 1.32 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
41
42
<?php
if ( ! \defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* WPEssential
*
* @package wpessential
* @author WPEssential
* @copyright 2021 WPEssential
* @license GPL-2.0-or-later
*
* @wordpress-plugin
* Plugin Name: WPEssential
* Description: WPEssential is a flexible extension of WordPress. It is open-source and themes also page builder solution in WordPress. Create any theme, anywhere and make your way. There is no `PHP`, `CSS`, `HTML` and `Javascript` coding knowledge need.
* Plugin URI: https://wp.wpessential.org/plugins/wpessential/
* Author: WPEssential
* Version: 2.0
* Author URI: https://wpessential.org/
* Text Domain: wpessential
* Requires PHP: 7.4
* Requires at least: 6.4
* WC requires at least: 4.0
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Domain Path: /languages
*/
require_once plugin_dir_path( __FILE__ ) . 'constants.php';
require_once WPE_DIR . 'install.php';
require_once WPE_DIR . 'uninstall.php';
require_once WPE_DIR . 'inc/Loader.php';
register_activation_hook( __FILE__, 'wpe_install' );
register_deactivation_hook( __FILE__, 'wpe_unsintall' );
WPEssential\Plugins\WpCli\WpCliINit::constructor();
if ( is_admin() && wpe_array_get( $_GET, 'flush_rewrite' ) ) {
flush_rewrite_rules();
}