Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-admin/includes/class-wp-site-health.php

WP_Site_Health::available_object_cache_services()

Method: Returns a list of available persistent object cache services.

Source: wp-admin/includes/class-wp-site-health.php:3413

Used by 1 function | Uses 1 function

site_status_available_object_cache_services

Filter Hook: Filters the persistent object cache services available to the user.

Source: wp-admin/includes/class-wp-site-health.php:3436

Used by 1 function | Uses 0 functions

site_status_good_response_time_threshold

Filter Hook: Filters the threshold below which a response time is considered good.

Source: wp-admin/includes/class-wp-site-health.php:3313

Used by 1 function | Uses 0 functions

WP_Site_Health::should_suggest_persistent_object_cache()

Method: Determines whether to suggest using a persistent object cache.

Source: wp-admin/includes/class-wp-site-health.php:3325

Used by 1 function | Uses 5 functions

site_status_should_suggest_persistent_object_cache

Filter Hook: Filters whether to suggest use of a persistent object cache and bypass default threshold checks.

Source: wp-admin/includes/class-wp-site-health.php:3338

Used by 1 function | Uses 0 functions

site_status_persistent_object_cache_thresholds

Filter Hook: Filters the thresholds used to determine whether to suggest the use of a persistent object cache.

Source: wp-admin/includes/class-wp-site-health.php:3354

Used by 1 function | Uses 0 functions

WP_Site_Health::get_page_cache_headers()

Method: Returns a list of headers and its verification callback to verify if page cache is enabled or not.

Source: wp-admin/includes/class-wp-site-health.php:3132

Used by 2 functions | Uses 1 function

site_status_page_cache_supported_cache_headers

Filter Hook: Filters the list of cache headers supported by core.

Source: wp-admin/includes/class-wp-site-health.php:3167

Used by 1 function | Uses 0 functions

WP_Site_Health::check_for_page_caching()

Method: Checks if site has page cache enabled or not.

Source: wp-admin/includes/class-wp-site-health.php:3183

Used by 1 function | Uses 10 functions

WP_Site_Health::get_page_cache_detail()

Method: Gets page cache details.

Source: wp-admin/includes/class-wp-site-health.php:3261

Used by 1 function | Uses 3 functions

WP_Site_Health::get_good_response_time_threshold()

Method: Gets the threshold below which a response time is considered good.

Source: wp-admin/includes/class-wp-site-health.php:3303

Used by 2 functions | Uses 1 function

WP_Site_Health::get_test_page_cache()

Method: Tests if a full page cache is available.

Source: wp-admin/includes/class-wp-site-health.php:2308

Used by 0 functions | Uses 8 functions

WP_Site_Health::get_test_persistent_object_cache()

Method: Tests if the site uses persistent object cache and recommends to use it if not.

Source: wp-admin/includes/class-wp-site-health.php:2422

Used by 0 functions | Uses 7 functions

site_status_persistent_object_cache_url

Filter Hook: Filters the action URL for the persistent object cache health check.

Source: wp-admin/includes/class-wp-site-health.php:2430

Used by 1 function | Uses 0 functions

site_status_persistent_object_cache_notes

Filter Hook: Filters the second paragraph of the health check’s description when suggesting the use of a persistent object cache.

Source: wp-admin/includes/class-wp-site-health.php:2492

Used by 1 function | Uses 0 functions

WP_Site_Health::show_site_health_tab()

Method: Outputs the content of a tab in the Site Health screen.

Source: wp-admin/includes/class-wp-site-health.php:66

Used by 0 functions | Uses 0 functions

WP_Site_Health::is_development_environment()

Method: Checks if the current environment type is set to ‘development’ or ‘local’.

Source: wp-admin/includes/class-wp-site-health.php:3118

Used by 3 functions | Uses 1 function

WP_Site_Health::get_test_authorization_header()

Method: Tests if the Authorization header has the expected values.

Source: wp-admin/includes/class-wp-site-health.php:2248

Used by 0 functions | Uses 4 functions

WP_Site_Health::get_test_plugin_theme_auto_updates()

Method: Tests if plugin and theme auto-updates appear to be configured correctly.

Source: wp-admin/includes/class-wp-site-health.php:1888

Used by 0 functions | Uses 2 functions

WP_Site_Health::get_test_file_uploads()

Method: Tests if ‘file_uploads’ directive in PHP.ini is turned off.

Source: wp-admin/includes/class-wp-site-health.php:2156

Used by 0 functions | Uses 2 functions

WP_Site_Health::detect_plugin_theme_auto_update_issues()

Method: Checks for potential issues with plugin and theme auto-updates.

Source: wp-admin/includes/class-wp-site-health.php:2844

Used by 1 function | Uses 4 functions

WP_Site_Health::get_test_php_sessions()

Method: Tests if there’s an active PHP session that can affect loopback requests.

Source: wp-admin/includes/class-wp-site-health.php:1154

Used by 0 functions | Uses 1 function

WP_Site_Health::maybe_create_scheduled_event()

Method: Creates a weekly cron event, if one does not already exist.

Source: wp-admin/includes/class-wp-site-health.php:2994

Used by 1 function | Uses 3 functions

WP_Site_Health::wp_cron_scheduled_check()

Method: Runs the scheduled event to check and update the latest site health status for the website.

Source: wp-admin/includes/class-wp-site-health.php:3005

Used by 0 functions | Uses 14 functions

WP_Site_Health::get_test_php_default_timezone()

Method: Tests if the PHP default timezone is set to UTC.

Source: wp-admin/includes/class-wp-site-health.php:1113

Used by 0 functions | Uses 1 function

WP_Site_Health::get_instance()

Method: Returns an instance of the WP_Site_Health class, or create one if none exist yet.

Source: wp-admin/includes/class-wp-site-health.php:79

Used by 7 functions | Uses 1 function

WP_Site_Health::perform_test()

Method: Runs a Site Health test directly.

Source: wp-admin/includes/class-wp-site-health.php:172

Used by 2 functions | Uses 1 function

WP_Site_Health::has_late_cron()

Method: Checks if any scheduled tasks are late.

Source: wp-admin/includes/class-wp-site-health.php:2814

Used by 1 function | Uses 1 function

site_status_test_result

Filter Hook: Filters the output of a finished Site Health test.

Source: wp-admin/includes/class-wp-site-health.php:194

Used by 1 function | Uses 0 functions

WP_Site_Health::get_test_http_requests()

Method: Tests if HTTP requests are blocked.

Source: wp-admin/includes/class-wp-site-health.php:1974

Used by 0 functions | Uses 1 function
1 2 Next
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry