WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/wpmu signup blog notification

This page is marked as incomplete. You can help Codex by expanding it.

Contents

Description

Notify user of signup success.

This is the notification function used when site registration is enabled.

Usage

<?php wpmu_signup_blog_notification($domain$path$title,
    
$user$user_email$key$meta); ?>

Parameters

$domain
(string) (required) The requested domain
Default: None
$path
(string) (required) The requested path
Default: None
$title
(string) (required) The requested site title
Default: None
$user
(string) (required) The user's requested login name
Default: None
$user_email
(string) (required) The user's email address
Default: None
$key
(string) (required) The activation key created in wpmu_signup_blog()
Default: None
$meta
(array) (required) By default, contains the requested privacy setting and lang_id.
Default: None

Return Value

(boolean) 
Returns true after wp_mail() is executed, False is returned only when same is returned from filter hooks to 'wpmu_signup_blog_notification'

Examples


Notes

Filter 'wpmu_signup_blog_notification' to bypass this function or replace it with your own notification behavior.

Filter 'wpmu_signup_blog_notification_email' and 'wpmu_signup_blog_notification_subject' to change the content and subject line of the email sent to newly registered users.

Change Log

Since: MU

Source File

wpmu_signup_blog_notification() is located in wp-includes/ms-functions.php

Related

wpmu_signup_blog(), wpmu_validate_blog_signup()

See also index of Function Reference and index of Template Tags.