LH Buddypress Add User
Adds an Add User tab to the logged-in user's BuddyPress profile, visible only to users with the promote_users capability.
by Peter Shaw · github.com/lhero-org/lh-buddypress-add-user · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/lhero-org/lh-buddypress-add-user/archive/refs/heads/main.zipAdds an Add User tab to the logged-in user's BuddyPress profile. The tab is only visible to users with the promote_users capability.
Description
When a user with promote_users visits their own BuddyPress profile they will see an Add User tab. From there they can add a new user by email and name, or look up an existing user. Optionally assigns the new user to a BuddyPress group.
New users are created with a random password and assigned the unclaimed role until claimed.
Installation
Network-activate or activate per-site. Requires BuddyPress.
Usage
Visit your BuddyPress profile and click the Add User tab. The URL will be:
/members/{your-slug}/add-user/
Hooks
Actions
lh_buddypress_add_user_after_user_insertion— fires after a user is created or found, receives theWP_Userobject.
Filters
lh_buddypress_add_user_after_email— filter the form HTML after the email field.bp_core_template_plugin— standard BP filter to override the profile template used.
Changelog
1.0.0 — 2026-06-09
- Initial release
- BuddyPress profile tab at
/members/{slug}/add-user/ - Visible only to users with
promote_userscapability - Creates new users with
unclaimedrole - Optional BuddyPress group assignment
- Supports both Nouveau and legacy themes via
members/single/pluginstemplate