WP_Site_Health
Methods
1 to 23 of 23
- WP_Site_Health::__construct() – WP_Site_Health constructor.
- WP_Site_Health::admin_body_class() – Add a class to the body HTML tag.
- WP_Site_Health::check_wp_version_check_exists() – Test if `wp_version_check` is blocked.
- WP_Site_Health::get_cron_tasks() – Populate our list of cron events and store them to a class-wide variable.
- WP_Site_Health::get_instance() – Return an instance of the WP_Site_Health class, or create one if none exist yet.
- WP_Site_Health::get_test_background_updates() – Test if WordPress can run automated background updates.
- WP_Site_Health::get_test_dotorg_communication() – Test if the site can communicate with WordPress.org.
- WP_Site_Health::get_test_http_requests() – Test if HTTP requests are blocked.
- WP_Site_Health::get_test_loopback_requests() – Test if loopbacks work as expected.
- WP_Site_Health::get_test_php_default_timezone() – Test if the PHP default timezone is set to UTC.
- WP_Site_Health::get_test_php_sessions() – Test if there’s an active PHP session that can affect loopback requests.
- WP_Site_Health::get_test_plugin_theme_auto_updates() – Test if plugin and theme auto-updates appear to be configured correctly.
- WP_Site_Health::get_test_scheduled_events() – Test if scheduled events run as intended.
- WP_Site_Health::get_test_ssl_support() – Check if the HTTP API can handle SSL/TLS requests.
- WP_Site_Health::get_test_utf8mb4_support() – Test if the database server is capable of using utf8mb4.
- WP_Site_Health::get_test_wordpress_version() – Tests for WordPress version and outputs it.
- WP_Site_Health::has_late_cron() – Check if any scheduled tasks are late.
- WP_Site_Health::has_missed_cron() – Check if any scheduled tasks have been missed.
- WP_Site_Health::is_development_environment() – Checks if the current environment type is set to ‘development’ or ‘local’.
- WP_Site_Health::maybe_create_scheduled_event() – Create a weekly cron event, if one does not already exist.
- WP_Site_Health::perform_test() – Run a Site Health test directly.
- WP_Site_Health::prepare_sql_data() – Runs the SQL version checks.
- WP_Site_Health::wp_schedule_test_init() – Initiate the WP_Cron schedule test cases.