WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about domain_exists

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/ms-functions.php apply_filters 1569 /**
* 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. Relevant only on multi-network installations.
*/

Hook Parameters

Parameter 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. Relevant only on multi-network installations.