Skip to content

Commit 23951d2

Browse files
committed
Added config example
1 parent e3a38b1 commit 23951d2

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ define( 'NETWORK_LOCAL_UPDATE_NOTIFY', 'you@example.com' );
9696

9797
PHP 7 or higher Options:
9898
```
99-
define('NETWORK_LOCAL_UPDATE_NOTIFY', [ 'email' => 'you@yourdomain.com', 'subject' => 'Site sync!', 'message' => 'This space intentionally left blank.' ] );
99+
define( 'NETWORK_LOCAL_UPDATE_NOTIFY', [ 'email' => 'you@yourdomain.com', 'subject' => 'Site sync!', 'message' => 'This space intentionally left blank.' ] );
100100
```
101101

102102
### Use Case
@@ -117,6 +117,17 @@ In your *development* environment's `wp-config.php`, you might define `NETWORK_L
117117
define( 'NETWORK_LOCAL_DOMAIN', 'example.local' );
118118
```
119119

120+
### Typical Example
121+
122+
Below is a typical example of the constants that you'd add/change in `wp-config.php`:
123+
124+
```
125+
define( 'DOMAIN_CURRENT_SITE', 'mysite.local' );
126+
define( 'NETWORK_LOCAL_DOMAIN', 'mysite.local' );
127+
define( 'WP_ADMIN_EMAIL', 'webmaster@mysite.local' ); // Optional
128+
define( 'NOBLOGREDIRECT', true ); // Required
129+
```
130+
120131
## Change Log
121132

122133
Release changes are noted on the [Releases](https://github.com/dmhendricks/wordpress-network-subdomain-updater-plugin/releases) page.

0 commit comments

Comments
 (0)