new_user_email_admin_notice()
new_user_email_admin_notice() 添加管理员通知,提醒用户在电子邮件地址更改后检查确…
new_user_email_admin_notice()
添加管理员通知,提醒用户在电子邮件地址更改后检查确认请求电子邮件。
Adds an admin notice alerting the user to check for confirmation request email after email address change.
添加管理员通知,提醒用户在电子邮件地址更改后检查确认请求电子邮件。
Adds an admin notice alerting the user to check for confirmation request email after email address change.
目录锚点:#返回#源码
返回(Return)
无返回值
源码(Source)
/** * Adds an admin notice alerting the user to check for confirmation email * after email address change. * * @since 3.0.0 */ function new_user_email_admin_notice() { if ( strpos( $_SERVER['PHP_SELF'], 'profile.php' ) && isset( $_GET['updated'] ) && $email = get_option( get_current_user_id() . '_new_email' ) ) echo "" . sprintf( __( "Your email address has not been updated yet. Please check your inbox at %s for a confirmation email." ), $email['newemail'] ) . ""; }
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.9.0 | wp-includes/user.php:2898 | 0 | 4 |
类别:WordPress 函数手册、
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。
还没有任何评论,赶紧来占个楼吧!