By default, WordPress background updates only happen for plugins in special cases, as determined by the WordPress.org. Because the special cases will be controlled by the WordPress security team for patching critical vulnerabilities. To enable or disable updates for plugins, you can use the auto_update_plugin filter.

You can enable WordPress to automatically install all plugin updates by simply adding this code to your theme’s functions.php file.

add_filter( 'auto_update_plugin', '__return_true' );

You can disable WordPress to automatically install all plugin updates by simply adding this code to your theme’s functions.php file.

add_filter( 'auto_update_plugin', '__return_false' );

Have any doubt? Comment here!

Leave a Reply

Your email address will not be published. Required fields are marked *