Title: WP Edit Username
Author: Sajjad Hossain Sagor
Published: <strong>26. april, 2018</strong>
Last modified: 8. december, 2025

---

Søg plugins

![](https://ps.w.org/wp-edit-username/assets/banner-772x250.png?rev=3398818)

![](https://ps.w.org/wp-edit-username/assets/icon-128x128.png?rev=1864589)

# WP Edit Username

 Af [Sajjad Hossain Sagor](https://profiles.wordpress.org/sajjad67/)

[Download](https://downloads.wordpress.org/plugin/wp-edit-username.2.0.5.zip)

[Forhåndsvisning i realtid](https://da.wordpress.org/plugins/wp-edit-username/?preview=1)

 * [Detaljer](https://da.wordpress.org/plugins/wp-edit-username/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/wp-edit-username/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/wp-edit-username/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/wp-edit-username/#developers)

 [Support](https://wordpress.org/support/plugin/wp-edit-username/)

## Beskrivelse

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

    ?>
    ```

## Skærmbilleder

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

## Installation

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.

## FAQ

### 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.

## Anmeldelser

![](https://secure.gravatar.com/avatar/cc01753619b895e017c2191f30cce249ad6a9a8b95a97226d4c25d4538d77154?
s=60&d=retro&r=g)

### 󠀁[gets the job done](https://wordpress.org/support/topic/gets-the-job-done-193/)󠁿

 [ahmedalaa01v](https://profiles.wordpress.org/ahmedalaa01v/) 5. september, 2024

gets the job done

![](https://secure.gravatar.com/avatar/51293c0f7d763ec284691404d3cc8e7a85e307be2aace073beabe08fbcb05848?
s=60&d=retro&r=g)

### 󠀁[does its job 😉](https://wordpress.org/support/topic/does-its-job-108/)󠁿

 [default-design](https://profiles.wordpress.org/default-design/) 29. august, 2023

does its job 😉

![](https://secure.gravatar.com/avatar/4ff47f7d2d797adc20eef05daa8fb9c056fd2dd4aa21391abc08198d7425c18f?
s=60&d=retro&r=g)

### 󠀁[Easy, quick! PLEASE UPDATE FOR CURRENT WP VERSION](https://wordpress.org/support/topic/easy-quick-please-update-for-current-wp-version/)󠁿

 [gpworx](https://profiles.wordpress.org/gpworx/) 14. december, 2022

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!

![](https://secure.gravatar.com/avatar/4c1ecd3d419f582c6b26f0dcb7d818b6431b54102b8cac2e10beefbff998b9fb?
s=60&d=retro&r=g)

### 󠀁[Good](https://wordpress.org/support/topic/good-3507/)󠁿

 [Tanjimul Islam](https://profiles.wordpress.org/tanjimulislam55/) 30. april, 2018

Nice effort…Well done! We want more.

![](https://secure.gravatar.com/avatar/54de0ae7fcc36e684dc2c467c15584da3a3e5e3582887e39573655e91d4e1159?
s=60&d=retro&r=g)

### 󠀁[nice WP Edit Username](https://wordpress.org/support/topic/nice-wp-edit-username/)󠁿

 [parvezpreo](https://profiles.wordpress.org/parvezpreo/) 29. april, 2018

good working .. Awesome plugin. #LOVE it

 [ Læs alle 5 anmeldelser ](https://wordpress.org/support/plugin/wp-edit-username/reviews/)

## Bidragsydere & udviklere

“WP Edit Username” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

 *   [ Sajjad Hossain Sagor ](https://profiles.wordpress.org/sajjad67/)

“WP Edit Username” er blevet oversat til 1 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/wp-edit-username/contributors)
for deres bidrag.

[Oversæt “WP Edit Username” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/wp-edit-username)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/wp-edit-username/), 
tjek [SVN repository](https://plugins.svn.wordpress.org/wp-edit-username/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/wp-edit-username/)
via [RSS](https://plugins.trac.wordpress.org/log/wp-edit-username/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 2.0.5

 * Checked for latest wp version 6.9

#### 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.

## Meta

 *  Version **2.0.5**
 *  Senest opdateret **4 måneder siden**
 *  Aktive installationer **2.000+**
 *  WordPress-version ** 5.6 eller højere **
 *  Testet op til **6.9.4**
 *  PHP-version ** 8.0 eller højere **
 *  Sprog
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/wp-edit-username/) og [English (US)](https://wordpress.org/plugins/wp-edit-username/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/wp-edit-username)
 * Tags
 * [ajax](https://da.wordpress.org/plugins/tags/ajax/)[Change Username](https://da.wordpress.org/plugins/tags/change-username/)
   [profile-edit](https://da.wordpress.org/plugins/tags/profile-edit/)[user profile](https://da.wordpress.org/plugins/tags/user-profile/)
   [username](https://da.wordpress.org/plugins/tags/username/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/wp-edit-username/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  5 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-edit-username/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-edit-username/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-edit-username/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-edit-username/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-edit-username/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-edit-username/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/wp-edit-username/reviews/)

## Bidragsydere

 *   [ Sajjad Hossain Sagor ](https://profiles.wordpress.org/sajjad67/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/wp-edit-username/)