apply_filters( 'automatic_updater_disabled', bool $disabled )

Filters whether to entirely disable background updates.


Description

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.


Top ↑

Parameters

$disabled bool
Whether the updater should be disabled.

Top ↑

Source

File: wp-admin/includes/class-wp-automatic-updater.php. View all references

return apply_filters( 'automatic_updater_disabled', $disabled );


Top ↑

Changelog

Changelog
Version Description
3.7.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.