Skip to content

Options

Kees Meijer edited this page Jun 14, 2019 · 2 revisions

To see what options are available run wp-update --help.

wp-update usage:
	wp-update <path/to/website> [option...]

wp-update example:
	wp-update domains/my-website --plugins

Options controlling update type:
	-w, --core           Update WordPress core
	-p, --plugins        Update plugins
	-t, --themes         Update themes
	-l, --translations   Update translations
	-c, --comments       Update comments
	-a, --all            Update everything

	If you don't provide an update type option the --all option is used

Options extra:
	-h, --help           Show help
	-f, --force          Force update without confirmation prompts
	-x, --no-db-backup   Don't make a database backup before and after updating
	-d, --delete-backups Delete theme and plugin backups

Clone this wiki locally