domain_exists
domain_exists ( $domain, $path, $site_id = 1 )
Parameters:- (string) $domain The domain to be checked.
- (string) $path The path to be checked.
- (int) $site_id Optional. Relevant only on multi-network installs.
Returns:Defined at: - Introduced in WordPress: MU
- Deprecated in WordPress: -
Description
Check whether a blogname is already taken.
Used during the new site registration process to ensure
that each blogname is unique.