Action: wu_domain_added
Fires when a custom domain is added to the network.
Use this hook to react to domain addition events, for example to initiate transactional email domain verification or DNS record creation.
Parameters
| Name | Type | Description |
|---|---|---|
| $new_value | string | The domain name that was added. |
| $site_id | int | The site ID the domain was added to. |
Since
- 2.5.0
Source
Defined in inc/managers/class-domain-manager.php at line 780