Lewati ke konten utama

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

NameTypeDescription
$new_valuestringThe domain name that was added.
$site_idintThe site ID the domain was added to.

Since

  • 2.5.0

Source

Defined in inc/managers/class-domain-manager.php at line 780