WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

WP Edit Username

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

WP Edit Username

由Sajjad Hossain Sagor
下載
Live Preview
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

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;
}

?>

螢幕截圖

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

安裝

To add a WordPress Plugin using the built-in plugin installer:

Go to Plugins > Add New.

  1. Type in the name “WP Edit Username” in Search Plugins box
  2. Find the “WP Edit Username” Plugin to install.
  3. Click Install Now to begin the plugin installation.
  4. The resulting installation screen will list the installation as successful or note any problems during the install.
    If successful, click Activate Plugin to activate it, or Return to Plugin Installer for further actions.

To add a WordPress Plugin from GitHub repo / plugin zip file :
1. Go to WordPress plugin page
2. Click Add New & Upload Plugin
3. Drag / Click upload the plugin zip file
4. The resulting installation screen will list the installation as successful or note any problems during the install.
If successful, click Activate Plugin to activate it, or Return to Plugin Installer for further actions.

常見問題

How to use this plugin?

Just after installing WP Edit Username plugin, Go to user profile and edit user username by clicking Edit button.

Update inputs according to your requirement and you are good to go.

評價

gets the job done

ahmedalaa01v 2024年9月5日
gets the job done

does its job 😉

default-design 2023年8月29日
does its job 😉

Easy, quick! PLEASE UPDATE FOR CURRENT WP VERSION

gpworx 2022年12月14日
THANK YOU!!! Using this plugin with ProfileGrid and could not change user names — even from phpMyAdmin. This plugin does the job AND offers to send an email to the user and admin about the change. Awesome! Please update this plugin for security with the latest version of Wordpress. Thank you again!

Good

Tanjimul Islam 2018年4月30日
Nice effort…Well done! We want more.

nice WP Edit Username

parvezpreo 2018年4月29日
good working .. Awesome plugin. #LOVE it
閱讀全部5個評價

貢獻者及開發者

“WP Edit Username” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • Sajjad Hossain Sagor

WP Edit Username 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 WP Edit Username 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

修改日誌

2.0.4

  • Fixed issue: typo giving fatal error

2.0.3

  • Applied security patch and added more html tags to the allowed html list

2.0.2

  • Checked for latest wp version 6.8

2.0.1

  • Minor changes in codebase only.

2.0.0

  • Major changes in codebase. Compatibility checkup for latest wp version 6.7, updated bootstrap to latest, removed unused css and added confirmation before submitting username change form.

1.0.8

  • Updated button type from default ‘submit’ to ‘button’

1.0.7

  • Checked for latest wp version 6.6

1.0.6

  • Fixed Plugin settings XSS vulnerability.

1.0.5

  • Added additional email sender : User Only. Added bunch of shortcodes to use in the subject and email body.

1.0.4

  • Checked for latest wp version 6.3

1.0.3

  • Checked for latest wp version & updated coding styles… major changes nothing

1.0.2

  • Checked for latest wp version & updated coding styles… major changes nothing

1.0.1

  • Checked for latest wp version & updated coding styles… major changes nothing

1.0.0

  • Initial release.

其它

  • Version 2.0.4
  • Last updated 4 個月之前
  • Active installations 2,000+
  • WordPress version 5.6 or higher
  • Tested up to 6.8.3
  • PHP version 8.0 or higher
  • Languages

    Chinese (Taiwan) 及 English (US).

    翻譯成你的語言

  • Tags
    ajaxChange Usernameprofile-edituser profileusername
  • 進階顯示

評分

5 out of 5 stars.
  • 5 5-star reviews 5 stars 5
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Add my review

See all reviews

貢獻者

  • Sajjad Hossain Sagor

支援

有話想說?需要協助?

檢視支援論壇

  • 關於我們
  • 最新消息
  • 寄存
  • 隱私權
  • 展示網站
  • 佈景主題
  • 外掛
  • 區塊版面配置
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Hong Kong 香港中文

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 訪問我們的 Facebook 專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
代碼就是詩歌。