WordPress at a glance
function is not described

WP_Site_Health_Auto_Updates::test_filters_automatic_updater_disabled() public WP 5.2.0

Check if automatic updates are disabled by a filter.

{} It's a method of the class: WP_Site_Health_Auto_Updates{}

Hooks from the method
Return

Array. The test results.

Usage

$WP_Site_Health_Auto_Updates = new WP_Site_Health_Auto_Updates();
$WP_Site_Health_Auto_Updates->test_filters_automatic_updater_disabled();

Changelog

Since 5.2.0 Introduced.

Code of WP_Site_Health_Auto_Updates::test_filters_automatic_updater_disabled() WP 5.7.2

<?php
public function test_filters_automatic_updater_disabled() {
	/** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */
	if ( apply_filters( 'automatic_updater_disabled', false ) ) {
		return array(
			'description' => sprintf(
				/* translators: %s: Name of the filter used. */
				__( 'The %s filter is enabled.' ),
				'<code>automatic_updater_disabled</code>'
			),
			'severity'    => 'fail',
		);
	}
}