WordPress at Your Fingertips
filter is not described

domain_exists filter-hook . WP 3.5.0

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.


add_filter( 'domain_exists', 'filter_function_name_1736', 10, 4 );
function filter_function_name_1736( $result, $domain, $path, $network_id ){
	// filter...

	return $result;
The site ID if the site name exists, null otherwise.
Domain to be checked.
Path to be checked.
Network ID. Relevant only on multi-network installations.


Since 3.5.0 Introduced.

Where the hook is called

wp-includes/ms-functions.php 1574
return apply_filters( 'domain_exists', $result, $domain, $path, $network_id );

Where in WP core the hook is used WordPress

Usage not found.