• Hi, and many thanks for this plugin. I’m trying to understand how capabilities work with this plugin. I can see from the documentation that a when a Civi contact has one of the ‘current’ membership statuses, then a “Membership Capability” is added to the matching WP user account. What I don’t understand is how that capability is defined in terms of the user’s access to site content and functionality.
    I can see that I could potentially use this custom membership capability to allow or deny access to a piece of content, but not how it might be used to – for example – control access to a forum or the ability to post in that forum.
    Maybe I should switch to using Roles rather than Capabilities?

Viewing 1 replies (of 1 total)
  • Plugin Author Christian Wach

    (@needle)

    Hi @mc3

    Capabilities can be used in myriad ways in WordPress. You can add the custom capabilities to your existing roles using your own code or a plugin that allows this via a GUI (e.g. Members). You can check capabilities directly, you can filter other capabilities based on whether a user has a cap or not, or you can group capabilities using Groups for example. How you decide to set this up is beyond the scope of this thread, however.

    Cheers, Christian

Viewing 1 replies (of 1 total)
  • The topic ‘Using Capabilities’ is closed to new replies.