Skip to:

code to restrict activity feed commenting by role

  • beachcalsix


    Hi, I already found a code to restrict post commenting based on WordPress roles. I am now trying to find a code to restrict commenting on the BuddyPress activity feed.

    My site has paid member roles and one role is the default role for free members that sign up. Then there are just guests with no role at all.

    I would like a code that will restrict free members to be restricted from commenting in the activity feed. I already have a PHP code in functions that keeps them from commenting on posts. I only want commenting to be allowed in paid member roles. Guests and free users blocked.

    Is there a code I can use for this?

    Thanks in advance!

  • You must be logged in to reply to this topic.
Skip to toolbar