WP Edit Username

March 09, 2024

WP Edit Username Plugin

Easily Edit User Profile Username clicking a button.

This plugin adds feature to edit/change user username.

Features:

  • Edit UserName
  • Only Who can edit_other_users() capability can edit username.
  • On change username a email would send to the user email about username change if send email is checked!
  • You can modify email text & subject in admin dashboard & via filter hook
  • Email Subject Change via filter wp_username_changed_email_subject.
  • Email Body Text Change via filter ($new_username & $old_username are always prepended to the email text) wp_username_changed_email_body.

Hooks Usage:

<?php add_filter( "wp_username_changed_email_subject", "your_function", 10, 3 ); your_function( $subject, $old_username, $new_username ) { $subject = 'Your customized subject'; return $subject; } add_filter( "wp_username_changed_email_body", "your_function", 10, 3 ); function your_function( $email_body, $old_username, $new_username ) { $email_body = "Your custom email text body."; return $email_body; } ?> 

Interested in contributing to WP Edit Username?
Contact me sagorh672(at)gmail.com

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.

Screenshots

  1. Settings panel for WP Edit Username Plugin.

    Settings panel for WP Edit Username Plugin.

  2. Username Edit Button.

    Username Edit Button.

  3. New Username Input Field.

    New Username Input Field.

  4. After Username Changed Message.

    After Username Changed Message.

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.

Changelog

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.

Details

  • Version: 1.0.6
  • Active installations: 1,000
  • WordPress Version: 5.6
  • Tested up to: 6.4.5

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars