| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Admin Options Pages |
| 4 |
* Plugin URI: https://adminoptionspages.com |
| 5 |
* Description: Create and edit your own options pages with ease. |
| 6 |
* Version: 0.9.5 |
| 7 |
* Author: Johannes van Poelgeest |
| 8 |
* Author URI: https://poolghost.com |
| 9 |
* Domain Path: /languages |
| 10 |
* License: GPL-2.0+ |
| 11 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 12 |
*/ |
| 13 |
|
| 14 |
if (!defined('WPINC')) { |
| 15 |
die; |
| 16 |
} |
| 17 |
|
| 18 |
if (!is_admin()) { |
| 19 |
return; |
| 20 |
} |
| 21 |
|
| 22 |
require plugin_dir_path(__FILE__) . 'bootstrap/autoloader.php'; |
| 23 |
require plugin_dir_path(__FILE__) . 'bootstrap/Requirements.php'; |
| 24 |
|
| 25 |
$minPhpVersion = '5.6.20'; |
| 26 |
$minWpVersion = '5.3'; |
| 27 |
|
| 28 |
$requirements = new \Requirements($minPhpVersion, $minWpVersion, __FILE__); |
| 29 |
|
| 30 |
if ($requirements->notCorrect()) { |
| 31 |
return $requirements->notCorrectAction(); |
| 32 |
} |
| 33 |
|
| 34 |
include plugin_dir_path(__FILE__) . 'bootstrap/bootstrap.php'; |
| 35 |
|