BP Group Hierarchy
[resolved] Only Allow Parent Groups to be Certain Groups (3 posts)

  1. sjroda
    Posted 3 years ago #


    I just downloaded your plugin and it's awesome, works perfect! But I do want to make one small change, although I'm not sure where to make the change.

    Basically I don't want all the groups to show up in the Parent Group drop-down menu. I only want 10 or so groups to be there instead of each created group. I know I'm probably going to have to edit the code, which is fine if I can get step-by-step instructions :)

    I can elaborate more if needed. Thanks!


  2. David Dean
    Plugin Author

    Posted 3 years ago #

    Hi sjroda -

    Are you talking about when creating a new group? There's a filter you can use called bp_group_hierarchy_available_parent_groups that will let you edit the list of groups available.

    You can call it from your theme's functions.php file or create a simple plugin to handle it. That way you won't have to re-create it with each release of this plugin.

    If you meant something else, please let me know some more details and I'll help however I can.

  3. 3x7
    Posted 2 years ago #


    It would be great if there was an option to choose the depth to be used for parent groups... only top level or top level + 1st sublevel...


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BP Group Hierarchy
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic