Overview
Softaculous allows you to enable/disable auto-upgrade for WordPress core, plugins, and themes of all the existing WordPress installations on your server.
Note : This utility has been added in Softaculous 5.8.7
Enable Auto Upgrade for WordPress Core
Use the following command to enable WordPress core :
php /path/to/softaculous/cli.php --enable-auto-upgrade --core
E.g. for cPanel :
/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --enable-auto-upgrade --core
Disable Auto Upgrade for WordPress Core
Use the following command to disable WordPress core :
php /path/to/softaculous/cli.php --disable-auto-upgrade --core
E.g. for cPanel :
/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --disable-auto-upgrade --core
Parameters
- In the above command the first parameter should be –enable-auto-upgrade or –disable-auto-upgrade
- –core – Here core refers to auto-upgrade of WordPress core only (Default value 0 or if you pass 1 will enable auto upgrade to major as well as minor versions of WordPress core)
- –core=2 – If set to 2, the auto upgrade setting for WordPress core will be set to minor versions only
- –plugins – plugins refer to auto upgrade of WordPress plugins.
- –themes – themes refer to auto upgrade of WordPress themes.
- –user=USERNAME – (Default all users on the server) Replace USERNAME with a username or usernames comma separated.
Enable Auto Upgrade for WordPress Core, Plugins and Themes
Use the following command to enable WordPress core, plugins and themes :
php /path/to/softaculous/cli.php --enable-auto-upgrade--core --plugins --themes
E.g. for cPanel :
/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --enable-auto-upgrade --core --plugins --themes
Disable Auto Upgrade for WordPress Core, Plugins and Themes
Use the following command to disable WordPress core, plugins and themes :
php /path/to/softaculous/cli.php --disable-auto-upgrade--core --plugins --themes
E.g. for cPanel :
/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --disable-auto-upgrade --core --plugins --themes