Last active
September 9, 2022 08:12
-
-
Save iqbalrony/4eb0ef7ae0f17aaf55c26317ea18ecd4 to your computer and use it in GitHub Desktop.
WP-CLI Commands which is necessary & most frequently used.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Commands | |
-------------- | |
Wordpress Download = wp core download | |
Config.php file create = wp config create --dbname=database_name --dbuser=database_username --dbpass=database_password | |
Wordpress Install = wp core install --url=example.com --title=Example --admin_user=supervisor --admin_password=strongpassword [email protected] | |
Theme or Plugin Install = wp theme/plugin install theme_slug/plugin_slug | |
Theme or Plugin Activate = wp theme/plugin activate theme_slug/plugin_slug | |
Theme or Plugin Install & Activate = wp theme/plugin install theme_slug/plugin_slug --activate | |
Theme or Plugin Deactivate = wp theme/plugin deactivate theme_slug/plugin_slug | |
Theme or Plugin Update = wp theme/plugin update theme_slug/plugin_slug --version=1.0.0 | |
Theme or Plugin Delete = wp theme/plugin delete theme_slug/plugin_slug | |
Help Link = https://developer.wordpress.org/cli/commands/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment