Automatically update major and minor versions of WordPress along with plugins and themes.
I have been looking for easy ways to update my plugins and themes without having to login to a site. I am looking forward to the day WordPress Core has it built in. Just clicking a checkbox that says auto enable updates would be really nice. Until the time arrives that WordPress Core has it built in there are a few ways to add automatic updates to WordPress.
Automatic updating through Plugins
I installed and activated the Advanced Automatic Updates plugin by Pento.
It has its own Settings page inside the Settings section.
One can update major and minor versions of WordPress along with plugins and themes.
Another plugin is Update Control by George Stephanis and Chip Bennett.
Update Control adds additional settings to the to the bottom area of the Settings -> General page.
WP updates settings plugin
Automatic updating by adding code into the wp-config.php file.
The codex has page for Configuring Automatic Background Updates.
One can add the following to the child theme functions.php file:
Add the following:
/* 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’ );
For additional code check: wpbeaches.com/automatically-update-wordpress-plugins-themes-translations/