Filters whether a site name is taken.
The name is the site’s subdomain or the site’s subdirectory path depending on the network settings.
$resultint|null
$domainstring
$pathstring
$network_idint
return apply_filters( 'domain_exists', $result, $domain, $path, $network_id );
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/domain_exists