wphooks.info - domain_exists

domain_exists

The hook occurs in the following file:

wp-includes/ms-functions.php:
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
	/**
	 * Filters whether a blogname is taken.
	 *
	 * @since 3.5.0
	 *
	 * @param int|null $result  The blog_id if the blogname exists, null otherwise.
	 * @param string   $domain  Domain to be checked.
	 * @param string   $path    Path to be checked.
	 * @param int      $site_id Site ID. Relevant only on multi-network installs.
	 */
	return apply_filters( 'domain_exists', $result, $domain, $path, $site_id );
}

/**
 * Store basic site info in the blogs table.
 *
 * This function creates a row in the wp_blogs table and returns
 * the new blog's ID. It is the first step in creating a new blog.
 *
 * @since MU