外掛說明
This plugin checks PHP memory usage and sends an email to the administrator if the maximum memory usage exceeds the threshold.
This email will include the memory usage, $_SERVER, and $_REQUEST values.
When used in conjunction with the External Notification plugin, the email can be sent as a notification to Slack.
For developer
- The default value for the threshold is 32 MB, but can be set to any value. Please define WP10_MEMORY_ALERT_THRESHOLD in megabytes in wp-config.php file.
- The plugin has a filter hook called “cpmp_delete_things_list”. This hook can be used to delete any content from the information retrieved by $_REQUEST.
安裝方式
- Upload the plugin package to the plugins directory.
- Activate the plugin through the \’Plugins\’ menu in WordPress.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0
- first version.
1.0.1
- fix code.