Automatic update of WordPress and themes

In WordPress 5.6 and onward we are able to update WordPress core, translations, plugins and themes through the Automatic update in WordPress. Here is an example from the Installed plugins screen.

Auto-update plugin

Installed Plugins screen WordPress auto-updates
Installed Plugins screen WordPress auto-updates

Bulk actions.
Select multiple plugins and click “Bulk actions” to select to Enable/Disable auto-updates for many plugins at once.

Auto-update theme

To auto update a theme. Go to Appearance -> Themes -> click a theme to get detail view and click to Enable auto-updates.

Detailed Themes view Enable auto-updates WordPress
Detailed Themes view Enable auto-updates WordPress

Auto update WordPress core

Go to Dashboard -> Updates. Here is an example.
Enable automatic updates for maintenance and security or all new versions of WordPress.

Current version: 6.0.1

Last checked on August 21, 2022 at 1:41 pm GMT+0000. Check again.

This site is automatically kept up to date with maintenance and security releases of WordPress only.
Enable automatic updates for all new versions of WordPress.

Resources

Removing all the success emails on updating plugins

There is a code or plugin to remove all the e-mails for when a plugin has successfully been updated. I have made a separate tutorial for this aspect: Disable Auto-update emails on success tutorial.

Auto update plugins

Easy Updates Manager

Companion Auto Update

Another option for turning on / Enabling updates is to use code that can be added to a code snippet plugin or the functions.php file of the child theme.

/* Enable all major core updates */
add_filter( ‘allow_major_auto_core_updates’, ‘__return_true’ );

/* Enable updating plugins */
add_filter( ‘auto_update_plugin’, ‘__return_true’ );

/* Enable updating themes */
add_filter( ‘auto_update_theme’, ‘__return_true’ );

/* Disable sending email on updates */
add_filter( ‘auto_core_update_send_email’, ‘__return_false’ );

This tutorial was originally published 11 December 2014.

Share the article:

Leave a Reply

Your email address will not be published.

seventeen − 13 =