Wp core (WP-CLI)
Naar navigatie springen
Naar zoeken springen
wp core: Download, installeer, update & beheer een WordPress-installatie.
$ wp help core NAME wp core DESCRIPTION Downloads, installs, updates, and manages a WordPress installation. SYNOPSIS wp core <command> SUBCOMMANDS check-update Checks for WordPress updates via Version Check API. download Downloads core WordPress files. install Runs the standard WordPress installation process. is-installed Checks if WordPress is installed. multisite-convert Transforms an existing single-site installation into a multisite installation. multisite-install Installs WordPress multisite from scratch. update Updates WordPress to a newer version. update-db Runs the WordPress database update procedure. verify-checksums Verifies WordPress files against WordPress.org's checksums. version Displays the WordPress version. EXAMPLES # Download WordPress core $ wp core download --locale=nl_NL Downloading WordPress 4.5.2 (nl_NL)... md5 hash verified: c5366d05b521831dd0b29dfc386e56a5 Success: WordPress downloaded. # Install WordPress $ wp core install --url=example.com --title=Example --admin_user=supervisor --admin_password=strongpassword --admin_email=info@example.com Success: WordPress installed successfully. # Display the WordPress version $ wp core version 4.5.2