handle_settings_post()
handle_settings_post() : boolean
Manage the settings post.
Returns
boolean —True on success, false on failure.
Class MainWP_Monitoring_Handler
get_health_noticed_status_value(object $website, object $new_health) : integer
Get new site health value.
| object | $website | Object containing the website info. | 
| object | $new_health | New site health value. | 
$noticed_value new site health status.
notice_sites_uptime_monitoring(array $websites, string $admin_email, string $email_settings, boolean $plain_text, boolean $to_admin = false)
Basic site uptime monitoring.
| array | $websites | Array containing the websites. | 
| string | $admin_email | Notification email. | 
| string | $email_settings | Email settings. | 
| boolean | $plain_text | Determines if the plain text format should be used. | 
| boolean | $to_admin | Send to admin or not. | 
notice_site_health_threshold(string $email_settings, array $websites, string $email, boolean $plain_text, boolean $general = true, boolean $to_admin = false)
Site health monitoring.
| string | $email_settings | Email settings. | 
| array | $websites | Array containing the websites. | 
| string | Notification email. | |
| boolean | $plain_text | Determines if the plain text format should be used. | 
| boolean | $general | Determines if it's a general notification. | 
| boolean | $to_admin | Send to admin or not. |