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); ?>