当前位置:首页>网络教程>WordPress开发函数admin_created_user_email()

WordPress开发函数admin_created_user_email()

WordPress开发函数admin_created_user_email()用法:

WordPress开发函数admin_created_user_email()用法:

admin_created_user_email( string $text )

参数:

$text

(string) (必需)

返回:

(string)

来源:

文件: wp-admin/includes/user.php

function admin_created_user_email( $text ) {

$roles = get_editable_roles();

$role = $roles[ $_REQUEST[‘role’] ];

return sprintf(

/* translators: 1: Site title, 2: Site URL, 3: User role. */

__(

‘Hi,

You\’ve been invited to join \’%1$s\’ at

%2$s with the role of %3$s.

If you do not want to join this site please ignore

this email. This invitation will expire in a few days.

Please click the following link to activate your user account:

%%s’

),

wp_specialchars_decode( get_bloginfo( ‘name’ ), ENT_QUOTES ),

home_url(),

wp_specialchars_decode( translate_user_role( $role[‘name’] ) )

);

}

更新日志:

WordPress开发函数admin_created_user_email()

给TA打赏
共{{data.count}}人
人已打赏
网络教程

WordPress开发函数admin_color_scheme_picker()

2022-7-15 16:58:40

网络教程

WordPress功能函数allow_subdomain_install()

2022-7-15 16:59:00

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索