A simple system info class which can be dropped into a WordPress theme or plugin to provide immediate debugging info. The inclusion of several actions and filters allows extension of the class to suit your needs.
- Easy to use
- Easy to extend
SSI is based heavily on the awesome System Info page included in Easy Digital Downloads.
SSI can be downloaded in several ways which are outlined below. Please use whichever way you are most comfortable with.
- Dev release: download
Once you have downloaded the framework, upload the .zip file to the root of your project and unzip it as follows:
$ cd my-project
$ unzip Simple-System-Info-master.zip -d simple-system-info
Dev release
$ cd my-project
$ git clone git://github.com/ghost1227/Simple-System-Info/ simple-system-info
Dev release
$ cd my-project
$ git submodule add git://github.com/ghost1227/Simple-System-Info/ simple-system-info
Include SSI in your theme or plugin as follows:
require_once('simple-system-info/simple-sysinfo.php');
$system_info = new Simple_System_Info();
$system_info->get();
Currently, SSI only provides a single function - get(); However, this function takes several (optional) arguments:
get( $show_inactive, $id, $class );
- $show_inactive - This is a boolean which determines whether or not to include inactive plugins in the plugin list. (Default: false)
- $id - This allows you to override the default ID assigned to the SSI textarea. (Default: system-info-box)
- $class - This allows you to assign a class (or classes) to the SSI textarea. None are assigned by default.
- Why aren't there any FAQs?
- Because you haven't asked any yet!
Send me an email at [email protected]!
- Initial release