forked from reduxframework/redux-framework-4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
redux-framework.php
41 lines (35 loc) · 1.49 KB
/
redux-framework.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 // phpcs:ignore Squiz.Commenting.FileComment.Missing
/**
* Redux, a simple, truly extensible and fully responsive options framework
* for WordPress themes and plugins. Developed with WordPress coding
* standards and PHP best practices in mind.
*
* Plugin Name: Redux
* Plugin URI: http://wordpress.org/plugins/redux-framework-4
* Github URI: reduxframework/redux-framework
* Description: Build better sites in WordPress fast
* Author: Redux.io + Dovy Paukstys
* Author URI: http://redux.io
* Version: 4.1.25
* Text Domain: redux-framework
* License: GPLv3 or later
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
* Provides: ReduxFramework
*
* @package ReduxFramework
* @author Redux.io by Dovy Paukstys <[email protected]>
* @license GNU General Public License, version 3
* @copyright 2012-2020 Redux.io
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
if ( ! defined( 'REDUX_PLUGIN_FILE' ) ) {
define( 'REDUX_PLUGIN_FILE', __FILE__ );
}
// Require the main plugin class.
require_once plugin_dir_path( __FILE__ ) . 'class-redux-framework-plugin.php';
// Register hooks that are fired when the plugin is activated and deactivated, respectively.
register_activation_hook( __FILE__, array( 'Redux_Framework_Plugin', 'activate' ) );
register_deactivation_hook( __FILE__, array( 'Redux_Framework_Plugin', 'deactivate' ) );
// Get plugin instance.
Redux_Framework_Plugin::instance();