WP Edit Username Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
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
Screenshots
-
Settings panel for WP Edit Username Plugin.
-
Username Edit Button.
-
New Username Input Field.
-
After Username Changed Message.