You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ For more information on this site setup and using Composer to manage a whole Wor
15
15
### Usage
16
16
To set up a custom WordPress build package to use this as a custom installer, add the following to your package's composer file:
17
17
18
-
```
18
+
```json
19
19
"type": "wordpress-core",
20
20
"require": {
21
21
"johnpbloch/wordpress-core-installer": "^1.0"
@@ -24,15 +24,15 @@ To set up a custom WordPress build package to use this as a custom installer, ad
24
24
25
25
By default, this package will install a `wordpress-core` type package in the `wordpress` directory. To change this you can add the following to either your custom WordPress core type package or the root composer package:
26
26
27
-
```
27
+
```json
28
28
"extra": {
29
29
"wordpress-install-dir": "custom/path"
30
30
}
31
31
```
32
32
33
33
The root composer package can also declare custom paths as an object keyed by package name:
0 commit comments