wpmu_signup_blog_notification filter-hookWP 3.0.0

Filters whether to bypass the new site email notification.

Usage

add_filter( 'wpmu_signup_blog_notification', 'wp_kama_wpmu_signup_blog_notification_filter', 10, 7 );

/**
 * Function for `wpmu_signup_blog_notification` filter-hook.
 * 
 * @param string|false $domain     Site domain, or false to prevent the email from sending.
 * @param string       $path       Site path.
 * @param string       $title      Site title.
 * @param string       $user_login User login name.
 * @param string       $user_email User email address.
 * @param string       $key        Activation key created in wpmu_signup_blog().
 * @param array        $meta       Signup meta data. By default, contains the requested privacy setting and lang_id.
 *
 * @return string|false
 */
function wp_kama_wpmu_signup_blog_notification_filter( $domain, $path, $title, $user_login, $user_email, $key, $meta ){

	// filter...
	return $domain;
}
$domain(string|false)
Site domain, or false to prevent the email from sending.
$path(string)
Site path.
$title(string)
Site title.
$user_login(string)
User login name.
$user_email(string)
User email address.
$key(string)
Activation key created in wpmu_signup_blog().
$meta(array)
Signup meta data. By default, contains the requested privacy setting and lang_id.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

wpmu_signup_blog_notification()
wpmu_signup_blog_notification
wp-includes/ms-functions.php 934
if ( ! apply_filters( 'wpmu_signup_blog_notification', $domain, $path, $title, $user_login, $user_email, $key, $meta ) ) {

Where the hook is used in WordPress

Usage not found.