Skip to content

Instantly share code, notes, and snippets.

View adamslowe's full-sized avatar

Adam Lowe adamslowe

View GitHub Profile
@adamslowe
adamslowe / WP-CLI Default Site Settings
Created January 8, 2024 01:59
WP-CLI Default Site Settings
# WP Config Settings
wp config set AUTOMATIC_UPDATER_DISABLED true
wp config set CORE_UPGRADE_SKIP_NEW_BUNDLED true
# Changing Site URL to https
wp option get siteurl | sed "s/http:/https:/g" | xargs -I {} wp option update siteurl {}
wp option get home | sed "s/http:/https:/g" | xargs -I {} wp option update home {}
# Install themes & plugins