wpmu_signup_blog_notification()提示用户注册成功(多站点)

目录

描述

Notify user of signup success.

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

wpmu_signup_blog_notification() 描述

用法

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

wpmu_signup_blog_notification() 用法

参数

$domain

(string) (必填) The requested domain

默认值: None

$path

(string) (必填) The requested path

默认值: None

$title

(string) (必填) The requested site title

默认值: None

$user

(string) (必填) The user's requested login name

默认值: None

$user_email

(string) (必填) The user's email address

默认值: None

$key

(string) (必填) The activation key created in wpmu_signup_blog()

默认值: None

$meta

(array) (必填) By default, contains the requested privacy setting and lang_id.

默认值: None

wpmu_signup_blog_notification() 参数

示例

wpmu_signup_blog_notification() 示例

注意

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.

wpmu_signup_blog_notification() 注意

历史

添加于 版本: MU

wpmu_signup_blog_notification() 历史

源文件

wpmu_signup_blog_notification() 函数的代码位于 wp-includes/ms-functions.php

wpmu_signup_blog_notification() 源文件

相关