Download the PHP package 10quality/wpmvc-addon-status without Composer
On this page you can find all versions of the php package 10quality/wpmvc-addon-status. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package wpmvc-addon-status
Status Addon (for Wordpress MVC)
Add-on for WordPress MVC.
The add-on will add a "System Status" option inside WordPress admin dashboard, allowing for administrator to see the system status and log files.
Features:
- System status (WP, PHP and DB versions).
- Easy JSON export.
- WordPress MVC log file viewer.
- Flush WordPress MVC cache.
Install and Configuration
To install, use the following composer command:
To configure the add-on, simply add it to your projects add-ons list at [project]/app/Config/app.php
:
Hooks
You can add custom status information and sections.
wpmvc_addon_status_sections
Filter wpmvc_addon_status_sections
allows to add new sections to the system status report, example:
wpmvc_addon_status_data
Filter wpmvc_addon_status_data
allows to add new date to the system status report, data can be added as:
- Array
- Class instance of
StatusData
.
Using array
Example:
Status | Description |
---|---|
0 |
Normal status. Displays with black text. |
1 |
Success status. Displays with green text. |
2 |
Important status. Displays with blue text. |
3 |
Danger status. Displays with red text. |
Class instance
Example:
Then add class to filter:
Data status
Status | Description |
---|---|
0 |
Normal status. Displays with black text. |
1 |
Success status. Displays with green text. |
2 |
Important status. Displays with blue text. |
3 |
Danger status. Displays with red text. |
Coding Guidelines
PSR-2 coding guidelines.
License
MIT License. (c) 2020 10 Quality.
All versions of wpmvc-addon-status with dependencies
10quality/wpmvc-core Version >=3.1.0
10quality/wpmvc-addon Version 1.0.*