HEX
Server: Apache
System: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User: ws67385642 (67385642)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /homepages/13/d4297903498/htdocs/wordpress/wp-content/mu-plugins/automation-by-installatron.php
<?php
/*
  Plugin Name: WordPress automation by Installatron
  Description: Management of this WordPress site is provided by Installatron.
*/

// This plugin was added because Automatic Updates, Automatic Backups, and
// other features are managed externally by Installatron.

// To block this plugin, create an empty file in the same directory named:
//     block-automation-by-installatron.php

// Turn off WordPress automatic updates since these are managed externally.
// If you remove this to re-enable WordPress's automatic updates then it's 
// advised to disable auto-updating in Installatron.
add_filter( 'auto_update_core', '__return_false', -9999 );
add_filter( 'allow_dev_auto_core_updates', '__return_false', -9999 );
add_filter( 'allow_minor_auto_core_updates', '__return_false', -9999 );
add_filter( 'allow_major_auto_core_updates', '__return_false', -9999 );
add_filter( 'auto_update_translation', '__return_false', -9999 );

// Disable WordPress site health test for Automatic Updates since these are
// managed externally by Installatron.
function installatron_filter_site_status_tests($tests) {
	unset($tests['async']['background_updates']);
	return $tests;
}
add_filter('site_status_tests', 'installatron_filter_site_status_tests');