Description
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.
Occurrences
Filename | Line Number |
---|---|
wp-includes/ms-functions.php | 1578 |
Parameters
Type | Name | Description |
---|---|---|
int|null | $result | The site ID if the site name exists, null otherwise. |
string | $domain | Domain to be checked. |
string | $path | Path to be checked. |
int | $network_id | Network ID. Only relevant on multi-network installations. |
PHP Doc
/**
* 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.
*
* @since 3.5.0
*
* @param int|null $result The site ID if the site name exists, null otherwise.
* @param string $domain Domain to be checked.
* @param string $path Path to be checked.
* @param int $network_id Network ID. Only relevant on multi-network installations.
*/