| 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.0 |
| 7 |
* Requires at least: 6.2 |
| 8 |
* Requires PHP: 7.4 |
| 9 |
* Author: TienCOP |
| 10 |
* Author URI: https://wpvnteam.com |
| 11 |
* Text Domain: wp-extra |
| 12 |
* Domain Path: /languages |
| 13 |
* License: GPLv2 |
| 14 |
*/ |
| 15 |
|
| 16 |
defined('ABSPATH') || die; |
| 17 |
define('WPEX_VERSION', '8.0'); |
| 18 |
define('WPEX_FILE', __FILE__); |
| 19 |
define('WPEX_DIR', __DIR__); |
| 20 |
|
| 21 |
use WPEXtra\WPEXtra; |
| 22 |
if (! class_exists(WPEXtra::class)) { |
| 23 |
if (is_file(__DIR__ . '/vendor/autoload.php')) { |
| 24 |
require_once __DIR__ . '/vendor/autoload.php'; |
| 25 |
} |
| 26 |
} |
| 27 |
|
| 28 |
/** |
| 29 |
* Plugin instance. |
| 30 |
* |
| 31 |
* @return WPEXtra |
| 32 |
*/ |
| 33 |
function run_wp_extra() |
| 34 |
{ |
| 35 |
return WPEXtra::instance(); |
| 36 |
} |
| 37 |
run_wp_extra(); |
| 38 |
|
| 39 |
|