Last active
October 7, 2025 19:28
-
-
Save mahfuzul/876cae3ff6d36777616d2636d033ebfd to your computer and use it in GitHub Desktop.
Define WP_HOME and WP_SITEURL. Put this file in "~/Library/Application Support/Code/User/snippets/" folder
This file contains hidden or 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
Show hidden characters
{ | |
"Set WP_HOME & WP_SITEURL": { | |
"scope": "php", | |
"prefix": "wphome", | |
"body": [ | |
"define('WP_HOME', 'https://$1.test');", | |
"define('WP_SITEURL', 'https://$1.test');" | |
], | |
"description": "Define WP_HOME and WP_SITEURL in wp-config-local.php" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment