跳到内容

WP Edit Username

v2.0.7

Sajjad Hossain Sagor · 2018年4月26日 上架

Easily Edit User Profile Username clicking a button.

正在使用
2,000+
评分
5.0 / 5
累计下载
3.2 万
最近更新
2026年11月18日
5 条评价需要 WordPress 5.6+已测试到 7.1.5PHP 8.0+

截图

Settings panel for WP Edit Username plugin.
Settings panel for WP Edit Username plugin.
Username Edit Button.
Username Edit Button.
New Username Input Field.
New Username Input Field.
After Username Changed Message.
After Username Changed Message.

This plugin adds feature to edit/change user username.

Features:

  • Edit Username: Allows editing of usernames.
  • Only users with the edit_other_users() capability can change usernames.
  • If the “Send Email” option is enabled, the user will receive a notification email when their username is changed.
  • You can customize the email subject and body text in the admin dashboard or via filter hooks.
  • Modify the email subject using the filter: wpeu_email_subject.
  • Modify the email headers using the filter: wpeu_email_headers.
  • Adjust the email body content using the filter wpeu_email_body. (Note: $new_username and $old_username are automatically prepended to the email content).

Hooks Usage:

<?php

add_filter( 'wp_username_changed_email_subject', 'change_email_subject' );

function change_email_subject( $subject )
{
    $subject = 'Your customized subject';

    return $subject;
}

add_filter( 'wp_username_changed_email_body', 'change_email_body' );

function change_email_body( $old_username, $new_username )
{
    $email_body = "Your custom email text body.";

    return $email_body;
}

?>

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums