Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Cant edit profile from frontend

Only super users can edit profiles in WordPress Multisite. This is because user profiles are site-independent in multisite. A user has one profile, but may be a member of multiple sites with multiple owners. You can’t let one of them screw around with the user’s profile…

If you really want to take control of this, you can though. For example, I have a locked down multisite where the users are only ever the members of a single site, and those admins need to be able to run them like an independent installation.

Try adding this to functions.php or maybe creating a plugin, so that you can add it to multiple sites with different themes:

/**
 * Change so site admins can edit user profiles, normally, on a network normally only superadmins can
 */
function custom_admin_users_caps( $caps, $cap, $user_id, $args ){

    foreach( $caps as $key => $capability ){

        if( $capability != 'do_not_allow' )
            continue;

        switch( $cap ) {
            case 'edit_user':
            case 'edit_users':
                $caps[$key] = 'edit_users';
                break;
            case 'delete_user':
            case 'delete_users':
                $caps[$key] = 'delete_users';
                break;
            case 'create_users':
                $caps[$key] = $cap;
                break;
        }
    }

    return $caps;
}
add_filter( 'map_meta_cap', 'custom_admin_users_caps', 1, 4 );
remove_all_filters( 'enable_edit_any_user_configuration' );
add_filter( 'enable_edit_any_user_configuration', '__return_true');

Related Posts:

  1. Make display name unique
  2. Replacing the WordPress password validation
  3. WordPress auto login after registration not working
  4. Allow up to 5 Concurrent Login Sessions
  5. How to create a public profile for authors/contributors/users?
  6. Why does is_user_logged_in() return false after redirect from another site?
  7. Force users to complete their profile after they register? How to
  8. Upload gravatar in WP profile?
  9. Pre-populate Username Field
  10. How to keep track of user logins?
  11. Get user info outside WordPress
  12. add ‘file upload’ field to user details
  13. Completely hide user info
  14. How can I secure a WordPress blog using OpenID from a single provider?
  15. Is it possible to get a user with just the password field?
  16. How to get the Role Name of the current user? (WordPress)
  17. Redirect after login based on user role (custom login page)
  18. Drop down list in user profile page
  19. Check for user meta data at Login
  20. Redirect User to Homepage if no other redirect is specified
  21. My custom page template with is_user_logged_in() does not detect that I’m logged in
  22. Use phpbb user database for WordPress
  23. Custom style on profile options page
  24. WordPress to use Drupal users’ credentials
  25. Add custom fields to the user profile
  26. Cannot set user passwords
  27. Share user table from WP with Drupal
  28. How can I allow password reset based on logins containing the @ character?
  29. Is there any function available to echo current user’s profile url?
  30. A way to count logged in users and display count?
  31. stop login if user_status equal zero
  32. How to add local users to wordpress without email password?
  33. Disable user profile editing for one user
  34. How do i make my wordpress website private?
  35. how to make a profile entry read only except for site managers [closed]
  36. Multiple Backend Users as single Frontend User
  37. Forcing WordPress to work differently
  38. Redirect user to login before viewing custom post
  39. Change the user_login at registration
  40. Remove user profile field [duplicate]
  41. Max no of simultaneous active sessions for a single user
  42. How to add a user profile page to frontend?
  43. How to export bbPress (forums, topics, replies) and all users?
  44. Is there a way to make custom fields only editable by administrators?
  45. When I try to login in wordpress it is showing “USER Doesn’t Exists”
  46. Should I encrypt the response that triggers an Ajax action? Is nonce sufficient?
  47. Redirect subscribers to last viewed page after log-in
  48. Editable registration date field in user profile
  49. wordpress disable login for unverified user
  50. Reset Password policy
  51. Rewrite Rules and Login Issue
  52. Is possible to allow user to login with different role?
  53. Profile page for user roles
  54. User profile updates password even if not filled (Theme my login) in Firefox? [closed]
  55. Use WordPress Login for a non-wordpress site
  56. WordPress Login Customization for External Authentication
  57. How to Create a User Profile Page?
  58. Prevent subscribers to changing certain profile fields
  59. Does wordpress support natively the concept of logging-in users? (not admins, but users of the website)
  60. Is there any action /filter hook I can use to disable login for some user role?
  61. Creating User Profiles using author.php
  62. How to check User Role and redirect to specific page according to Role when login in WordPress?
  63. Display video on homepage for users who have not logged in
  64. Create a “user log”
  65. How do you manage your pages or functions that require logged-in users?
  66. How to display text if profile fields are not filled?
  67. What is correct way to change user’s email?
  68. How to hide user profile fields based on the role of the viewed user?
  69. How can i login with user’s password in WordPress being an admin?
  70. Delete a user from frontend
  71. How to make current user’s avatar + display name link to their profile?
  72. Check if user is logged in via JS? [duplicate]
  73. Give users alternative/second avatar that is rectangle sized
  74. User can manage one page accessible by everyone?
  75. redirect user to their profile after log in
  76. Use members from 1 site on another one
  77. Can I edit the database to change a login?
  78. how redirect users to custom login page when “login to reply” is clicked? [duplicate]
  79. User(s) already exists show error please provide a valid username
  80. Assigning multiple or additional capabilities to specific users or how to create additional roles like bbpress roles?
  81. Using my own user table
  82. wp_generate_password sets password but can’t login using created password
  83. add class to element if user is not logged in [closed]
  84. How to display all user profile info in myaccount page wordpress
  85. How to add extra field in profile page and show in myaccount?
  86. WordPress 5.8 – Hide or Remove personal fields from admin Profile page
  87. How do I update user email from frontend input field?
  88. Is there a way to call via javascript if a user is logged-in on a static html file?
  89. Restricting wordpress login sessions for a web app
  90. How to display extra fields for user
  91. I need a link that directs the user that is logged to his profile
  92. How to connect wordpress user with my own APP user?
  93. How to change default username field after login
  94. The same session information for peer users on two different WordPress servers
  95. How can i display pagination in custom comment list?
  96. How can i add user display name drop down menu in frontend?
  97. How to create page for user?
  98. How to make custom user profile page public?
  99. WP users cant reset password
  100. Check for empty username or password on login
Categories users Tags bbpress, login, profiles, users
How to check if the Menubar contains no items?
How to looping taxonomy terms?

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress