Enable automatic updates for a plugin
enable plugin auto updates wordpress | turn on wordpress automatic updates | automatic security updates plugins | wp-cli | plugin | updateCaution: This command changes the system. Understand what it does before you run it.
wp plugin auto-updates enable wordfence --path=/var/www/vhosts/example.com/httpdocsApplies the same setting as the “Enable auto-updates” link in the plugin list. The updates then run via WP-Cron. wp plugin auto-updates status --all shows the current state.
Note: Requires WP-CLI 2.5 or newer and WordPress 5.5 or newer. If WP-Cron is disabled, a real cron job is needed, otherwise nothing happens.
Also searched as
- enable plugin auto updates wordpress
- turn on wordpress automatic updates
- automatic security updates plugins