BuddyDev

Search

Disable BuddyPress Components Conditionally blog post

  • Participant
    Level: Yogi
    Posts: 1105
    calu on #19614

    Hi there, I just discovered the blog topic ‘disable BuddyPress Components Conditionally’ , and wondering about if this code be used to restrict BuddyPress Private Message Rate Limiter by user roles?

    It is not a BP standard component, but is it possible to make it work with Private Message Rate Limiter, using the “bp_is_active” hook?

    Regards
    Carsten

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #19630

    Hi Carsten,
    Thank you for asking.

    I will not suggest using it for components that allow two users to interact, the behaviour may be un-predictive.

    I will suggest avoiding it for Friends/Messages as they involve 2 users.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved