| Server IP : 65.108.144.40 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 User : dev ( 1000) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/winee/wp-content/mu-plugins/wpengine-common/ |
Upload File : |
<?php
/** Functions relating to site health data storage for use in the go live checklist.
*
* @package wpengine/common-mu-plugin
*/
/**
* A filter that stores the site health check results in the database for access by the go live checklist.
* It is necessary to store it in this fashion as it is set as a transient by default, which is not guaranteed
* to be saved in the database.
*
* @param string $value the value of the transient being saved.
* @return string the unchanged value of the transient.
*/
function store_site_health_results_in_db( $value ) {
update_option( 'wpe-health-check-site-status-result', $value );
return $value;
}
add_filter( 'pre_set_transient_health-check-site-status-result', 'store_site_health_results_in_db' );