WordPress filter hook · part of WordPress core
site_status_test_result
A WordPress core filter that 20 plugins also fire themselves, running on 7.9M+ sites between them.
“This filter is documented in wp-admin/includes/class-wp-site-health.php”
How to use site_status_test_result
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'site_status_test_result', function( $result ) {
// Change $result here.
return $result;
}, 10, 1 );Argument names come from Glow: maintenance & support management for agencies's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
This hook is fired by WordPress core too. Official reference on developer.wordpress.org →
20 plugins that fire site_status_test_result
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WooCommerce7+ million installs
apply_filters( 'site_status_test_result', $this->run_test( $test_id ) )src/Internal/Admin/SiteHealth.php:124 -
Extendify500,000+ installs
apply_filters( 'site_status_test_result', call_user_func($callback) )app/Mcp/Maintenance.php:293 -
Health Check & Troubleshooting200,000+ installs
apply_filters( 'site_status_test_result', call_user_func( array( $health_check_site_status, $test_function ) ) )HealthCheck/WP_CLI/class-status.php:28 -
Jupiter X Core70,000+ installs
apply_filters( 'site_status_test_result', call_user_func($callback) )includes/admin/site-health/site-health.php:193 -
Modular DS: Monitor, update, and backup multiple websites40,000+ installs
apply_filters( 'site_status_test_result', call_user_func($test['async_direct_test']) )src/app/Jobs/Health/ManagerHealthDataJob.php:135 -
Easy MCP AI40,000+ installs
apply_filters( 'site_status_test_result', call_user_func( $callback ) )includes/tools/site-health/class-get-site-health.php:163 -
WSP MCP3,000+ installs
apply_filters( 'site_status_test_result', call_user_func( $callback ) )includes/abilities/health.php:111 -
Glow: maintenance & support management for agencies800+ installs
apply_filters( 'site_status_test_result', $result )includes/class-glow-worker-wordpress.php:439 -
AcrossAI Abilities Manager100+ installs
apply_filters( 'site_status_test_result', $result )includes/Abilities/SiteHealth/Get_Site_Health_Status.php:262 -
Rectus Content Access for MCP40+ installs
apply_filters( 'site_status_test_result', call_user_func( $callback ) )includes/diagnostics.php:257 -
Scouting OpenID Connect30+ installs
apply_filters( 'site_status_test_result', $this->test() )src/support/class-providerhealth.php:63 -
Seeb Abilities10+ installs
apply_filters( 'site_status_test_result', $result )src/Abilities/Site.php:897 -
Honk! Honk!Fewer than 10 installs
apply_filters( 'site_status_test_result', $result )includes/modules/class-honk-module-health.php:315 -
Vigilant HealthchecksFewer than 10 installs
apply_filters( 'site_status_test_result', call_user_func($callback) )src/Checks/SiteHealthCheck.php:110 -
Admin Dashboard ShortcutsFewer than 10 installs
apply_filters( 'site_status_test_result', $result )includes/class-admin-shortcuts-dashboard.php:2111 -
ShadowKryptFewer than 10 installs
apply_filters( 'site_status_test_result', $result )includes/class-shadowkrypt-performance.php:388 -
Teydea Site AssistantFewer than 10 installs
apply_filters( 'site_status_test_result', call_user_func( $callback ) )src/modules/cards-operations/internal/class-card-site-health.php:295 -
Fine MCPFewer than 10 installs
apply_filters( 'site_status_test_result', call_user_func($callback) )includes/kits/site-tools/src/health.php:67 -
BallesDev RealMCPFewer than 10 installs
apply_filters( 'site_status_test_result', call_user_func( $runner ) )src/Abilities/Health.php:282 -
Maintained.logFewer than 10 installs
apply_filters( 'site_status_test_result', call_user_func( $callback ) )includes/class-tech-status.php:456
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.