This page redirects to an external site: https://developer.wordpress.org/reference/functions/domain_exists/
Description
Checks to see if the specified domain are already being used.
Parameters
- $domain
- (string) (required) The domain to be checked.
- Default: None
- $path
- (string) (required) The path to be checked.
- Default: None
- $site_id
- (integer) (optional) The site id to be checked.
- Default: 1
Return Values
- (boolean)
- True if already being used, or false if not already being used.
Usage
<?php domain_exists($domain, $path, $site_id); ?>