-
Notifications
You must be signed in to change notification settings - Fork 0
/
platforminfo.php
42 lines (38 loc) · 1.03 KB
/
platforminfo.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/**
* Plugin Name: PlatformInfo
* Plugin URI: https://en-gb.wordpress.org/plugins/platforminfo/
* Description: PlatformInfo gives useful information for sites on shared hosting.
* Version: 1.2.6
* Requires at least: 5.8
* Requires PHP: 7.4
* Author: newtovaux
* Author URI: https://github.com/newtovaux/
* License: GPLv2
* Text Domain: platforminfo
*
* PHP version 7.4
*
* @category Plugin
* @package Platforminfo
* @author newtovaux <[email protected]>
* @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
* @link https://github.com/newtovaux/platforminfo
*/
/* Quit */
defined( 'ABSPATH' ) || exit;
/* Define user constants */
if ( ! defined( 'PLATFORMINFO_BASE' ) ) {
define( 'PLATFORMINFO_BASE', plugin_basename( __FILE__ ) );
}
/**
* Ignore.
*
* @psalm-suppress UnresolvableInclude
*/
require plugin_dir_path( __FILE__ ) . 'include/class-platforminfo.php';
/* Hooks */
add_action(
'plugins_loaded',
'Platforminfo::instance'
);