• When I disable all updates using Easy Updates Manager, it triggers a Site Health Nag: Your site may have problems auto-updating plugins and themes

    I used the following code in functions.php and it no longer works:

    add_filter(‘site_status_tests’, function (array $test_type) {
    unset($test_type[‘async’][‘background_updates’]); // remove warning about Automatic background updates

    return $test_type;

    }, 10, 1);

    Is there a better php code snippet that would work?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support vupdraft

    (@vupdraft)

    I would suggest you find the cause rather than just hide the error

    There is likely a Must-Use plugin in your?wp-content/mu-plugins/?directory – and it’s likely the only?.php?file in the directory. You could rename it to end with?.php.disabled, or create?wp-content/mu-plugins/disabled/?and move the file there, or just delete the file.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.