Used By
Used By | Description |
---|---|
wp-includes/ms-functions.php: domain_exists() | Checks whether a site name is already taken. |
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.
(int|null) The site ID if the site name exists, null otherwise.
(string) Domain to be checked.
(string) Path to be checked.
(int) Network ID. Relevant only on multi-network installations.
Version | Description |
---|---|
3.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/domain_exists