| Server IP : 162.215.171.210 / Your IP : 216.73.216.20 Web Server : Apache System : Linux 162-215-171-210.bluehost.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : swansondentalgro ( 1070) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/swansondentalgro/.trash/mu-plugins-old/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' );