SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. function remove_site_health_test( $tests ) {
  3.   if( isset( $tests['direct']['php_version'] ) unset( $tests['direct']['php_version'] ); // remove php version check
  4.   if( isset( $tests['async']['background_updates'] ) unset( $tests['async']['background_updates'] ); // remove background update
  5.   return $tests;
  6. }
  7. add_filter( 'site_status_tests', 'remove_site_health_test' );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top