WP Operational Status

WP Operational Status is a plugin that logs the operational status of one or more websites.

⚠ Important
This plugin cannot be activated network wide.

Install and Activate

Installing From Github

To install the plugin from Github, you can download the latest release zip file, upload the Zip file to your WordPress install, and activate the plugin.

Usage

Monitors

Add monitors in the WP Operational Status theme options page.

Theme functions

wpos_get_monitors

Parameters

limit int Optional

Default: null

$monitors = wpos_get_monitors(
  array(
    'limit' => '15,
  ),
)

date string Optional

Default: null

$monitors = wpos_get_monitors(
  array(
    'date' => '2022-01-01,
  ),
)

Filters

wpos_current_user_capability

Default: manage_options

Filter the user capability needed to access the plugin settings page.

apply_filters( 'wpos_current_user_capability', $wpos_current_user_capability );
Example
add_filter( 'wpos_current_user_capability', function( $current_user_capability ) {
    return 'edit_posts';
});

wpos_cron_schedule

Default: hourly

Filter the cron schedule.

apply_filters( 'wpos_cron_schedule', $wpos_cron_schedule );
Example
add_filter( 'wpos_cron_schedule', function( $cron_schedule ) {
    return 'daily';
});