WordPress开发函数admin_created_user_email()

WordPress开发函数admin_created_user_e**il()用法:

admin_created_user_e**il( string $text )

参数:

$text

(string) (必需)

返回:

(string)

来源:

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

function admin_created_user_e**il( $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 e**il. This invitation will e**ire in a few days.

Please click the following link to activate your user account:

s’

),

wp_specialchars_decode( get_bloginfo( ‘n**e’ ), ENT_QUOTES ),

home_url(),

wp_specialchars_decode( translate_user_role( $role[‘n**e’] ) )

);

}

更新日志:

WordPress开发函数admin_created_user_email() (https://www.wpzt.net/) WordPress开发教程 第1张

© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容