PluginProbe
Admin Options Pages / 0.9.5
Admin Options Pages v0.9.5
trunk 0.0.8 0.5.0 0.7.0 0.9.0 0.9.1 0.9.2 0.9.3 0.9.4 0.9.5 0.9.6 0.9.7 0.9.8 0.9.9
admin-options-pages / admin-options-pages.php

admin-options-pages.php in Admin Options Pages 0.9.5, at admin-options-pages.php

35 lines 850 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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