描述
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.