PluginProbe
WP EXtra – One Click Optimize / 8.7.1
WP EXtra – One Click Optimize v8.7.1
8.7.1 8.6.8 8.7.0 trunk 5.9 8.0 8.5.0 8.5.4 8.5.5 8.6.0 8.6.1 8.6.2 8.6.3 8.6.5
wp-extra / wp-extra.php

wp-extra.php in WP EXtra – One Click Optimize 8.7.1, at wp-extra.php

41 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin name: WP EXtra
4 * Plugin URI: https://wordpress.org/plugins/wp-extra/
5 * Description: This is a simple and perfect tool to use as your website’s functionality plugin. Awesome !!!
6 * Version: 8.7.1
7 * Requires at least: 6.8
8 * Requires PHP: 8.0
9 * Author: TienCOP
10 * Author URI: https://wpvnteam.com
11 * Text Domain: wp-extra
12 * Domain Path: /languages
13 * License: GPLv2
14 */
15
16 namespace WPEXtra;
17 if ( ! defined( 'ABSPATH' ) ) {
18 exit;
19 }
20
21 define( 'WPEX_VERSION', '8.7.1' );
22 define( 'WPEX_FILE', __FILE__ );
23 define( 'WPEX_DIR', __DIR__ );
24 define( 'WPEX_URL', plugin_dir_url( __FILE__ ) );
25
26 require_once __DIR__ . '/vendor/autoload.php';
27
28 if ( ! class_exists( '\WPVNTeam\WPSettings\WPSettings' ) ) {
29 include_once __DIR__ . '/wp-settings/wp-settings.php';
30 }
31
32 new Language;
33 new WPEXtra;
34
35 if ( is_admin() || wp_doing_ajax() ) {
36 new Settings;
37 if ( is_admin() ) {
38 new Core;
39 }
40 }
41