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.
$blog_id,
$user_id,
#[\SensitiveParameter]
$password,
$title,
$meta = array(
Sortie :
@param int|null $result The site ID if the site name exists, null otherwise. @param string $domain Domain to be checked. @param string $path Path to be checked. @param int $network_id Network ID. Only relevant on multi-network installations. @param int $blog_id Site ID. @param int $user_id User ID. @param string $password User password, or "N/A" if the user account is not new. @param string $title Site title. @param array $meta Optional. Signup meta data. By default, contains the requested privacy setting and lang_id. @return bool Whether the email notification was sent.
// Utilisation de la fonction wpmu_welcome_notification
$result = wpmu_welcome_notification($blog_id,
$user_id,
#[\SensitiveParameter]
$password,
$title,
$meta = array();
if ($result) {
// Votre logique ici
}
Chargement des actualités...