redux-framework.php (1595B)
1 <?php // phpcs:ignore Squiz.Commenting.FileComment.Missing 2 /** 3 * Redux, a simple, truly extensible and fully responsive option framework 4 * for WordPress themes and plugins. Developed with WordPress coding 5 * standards and PHP best practices in mind. 6 * 7 * Plugin Name: Redux 8 * Plugin URI: http://wordpress.org/plugins/redux-framework 9 * GitHub URI: reduxframework/redux-framework 10 * Description: Build better sites in WordPress fast! 11 * Version: 4.3.1 12 * Requires at least: 4.0 13 * Requires PHP: 7.1 14 * Author: Extendify 15 * Author URI: https://extendify.com 16 * License: GPLv3 or later 17 * License URI: http://www.gnu.org/licenses/gpl-3.0.txt 18 * Text Domain: redux-framework 19 * Provides: ReduxFramework 20 * 21 * @package ReduxFramework 22 * @author Extendify 23 * @license GNU General Public License, version 3 24 * @copyright 2012-2021 Redux.io 25 */ 26 27 // Exit if accessed directly. 28 defined( 'ABSPATH' ) || exit; 29 30 if ( ! defined( 'REDUX_PLUGIN_FILE' ) ) { 31 define( 'REDUX_PLUGIN_FILE', __FILE__ ); 32 } 33 34 // Require the main plugin class. 35 require_once plugin_dir_path( __FILE__ ) . 'class-redux-framework-plugin.php'; 36 37 // Register hooks that are fired when the plugin is activated and deactivated, respectively. 38 register_activation_hook( __FILE__, array( 'Redux_Framework_Plugin', 'activate' ) ); 39 register_deactivation_hook( __FILE__, array( 'Redux_Framework_Plugin', 'deactivate' ) ); 40 41 // Get plugin instance. 42 Redux_Framework_Plugin::instance();