WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about automatic_updater_disabled

Back to home


Filename Hook Type Line Number PHP Doc
wp-admin/includes/class-wp-automatic-updater.php apply_filters 56 /**
* 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.
wp-admin/includes/class-wp-site-health-auto-updates.php apply_filters 118 /**
* Checks if automatic updates are disabled by a filter.
* @since 5.2.0
* @return array The test results.

Hook Parameters

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