Multisite Search and Replace wp config set DOMAIN_CURRENT_SITE "newdomain.com" wp search-replace "olddomain.com" "newdomain.com" --url=newdomain --precise wp search-replace --network "http://olddomain.com" "https://newdomain.com" --precise --all-tables Add Super Admin wp user create username [email protected] --role=administrator wp super-admin add username WooCommerce - Delete all products wp post delete $(wp post list --post_status=trash --post_type='product' --format=ids --posts_per_page=10000) --force List installed plugins as composer.json dependencies syntax $ wp plugin list --format=csv --fields=name,version | awk '{if ($1 != "name,version") print $1;}' | awk -F',' '{print "\"wpackagist-plugins/" $1 "\":" " \"" $2 "\","}'