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:
  • (int)
Defined at:

Description

Check whether a blogname is already taken.

Used during the new site registration process to ensure that each blogname is unique.

Related Functions

email_exists, comment_exists, tag_exists, post_exists, term_exists

Top Google Results

User discussions

wpseek mobile