This plugin will automatically keep your WordPress site up-to-date, downloading updates for WordPress, your plugins and your themes, as soon as they become available.
auto_updater_before_update / auto_updater_after_update
The auto_updater_before_update and auto_updater_after_update actions are triggered before and after any update is triggered, respectively. They are passed a single parameter, $type (string), which will be one of “core”, “plugins” or “themes”, depending on what is being updated. These actions are useful for triggering a backup prior to the update, or running sanity checks after the update.
The auto_updater_core_updates filter passes information about the selected version of WordPress core to upgrade to. Returning NULL will cause the update to be safely aborted.
The auto_updater_plugin_updates filter passes an array of the plugins to be updated. This can be used to remove any plugins that you don’t want to be included in the automatic update. Returning NULL will cause the update to be safely aborted.
The auto_updater_theme_updates filter passes an array of the themes to be updated. This can be used to remove any themes that you don’t want to be included in the automatic update. Returning NULL will cause the update to be safely aborted.
The auto_update_get_update_data filter passes an array of available update totals, used for determining if any updates need to be scheduled. If you’re using the auto_updater_plugin_updates or auto_updater_theme_updates filters to block updates of a theme or plugin, you should decrease the totals appropriately, to avoid any unnecessary update being repeatedly scheduled.
The auto_updater_notification_email_address filter passes the email address that it intends to send an update notification email to. Returning a different address will cause the email to be sent to the new address, instead.