• Resolved webmark487

    (@webmark487)


    Hi!

    How can I hide the BuddyPress “Profile Fields” menu entry (in the WP backend)?

    https://pasteboard.co/osvfH8ty1JYk.jpg

    I added the capability “Hidebuddypressprofilefields”, but how to configure now, what it is and what it should do?

    Thx in advance and best regards
    Markus

    • This topic was modified 2 years, 3 months ago by webmark487.
    • This topic was modified 2 years, 3 months ago by webmark487.
    • This topic was modified 2 years, 3 months ago by webmark487.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter webmark487

    (@webmark487)

    And a follow-up question: how do I delete a capability, that I added by myself? It is not in the list of capabilities to delete.

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Hi,

    “Profile Fields” menu item is protected by ‘manage_options’ user capability.

    In order to use manually added user capability, programming is needed to check user permission and allow/prohibit showing UI element or corresponding action.

    URE allows to delete user capability only if it was not granted to any role, except ‘administrator’. Revoke this capability for roles. Then it will become available for deletion.

    Thread Starter webmark487

    (@webmark487)

    Thank you Vladimir, every single question satisfactorily answered ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Buddypress “Profile Fields” menu entry’ is closed to new replies.