Filter hook 'automatic_updater_disabled'

in WP Core File wp-admin/includes/class-wp-automatic-updater.php at line 58

Description

Filters whether to entirely disable background updates. There are more fine-grained filters and controls for selective disabling. This filter parallels the AUTOMATIC_UPDATER_DISABLED constant in name. This also disables update notification emails. That may change in the future.

Occurrences

Filename Line Number
wp-admin/includes/class-wp-automatic-updater.php 58
wp-admin/includes/class-wp-site-health-auto-updates.php 118

Parameters

Type Name Description
bool $disabled Whether the updater should be disabled.

PHP Doc

/**
		 * Filters whether to entirely disable background updates.
		 *
		 * There are more fine-grained filters and controls for selective disabling.
		 * This filter parallels the AUTOMATIC_UPDATER_DISABLED constant in name.
		 *
		 * This also disables update notification emails. That may change in the future.
		 *
		 * @since 3.7.0
		 *
		 * @param bool $disabled Whether the updater should be disabled.
		 */