Skip to:
Content
Pages
Categories
Search
Top
Bottom

How can I modify bp_group_list_admins_username(); function?


  • musaverleo
    Participant

    @musaverleo

    Hi , guys I want to modify this buddypress function bp_group_list_admins_username();. This function is fetching group admin link in groups loop.

Viewing 1 replies (of 1 total)

  • shanebp
    Moderator

    @shanebp

    Where do you see bp_group_list_admins_username() ?

    There is a function called bp_group_list_admins but unfortunately it has no filters.
    What you can do is create a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\groups\single\group-header.php

    And then replace the call to bp_group_list_admins() with a call to a custom function.
    Ditto re bp_group_list_mods().

Viewing 1 replies (of 1 total)
  • The topic ‘How can I modify bp_group_list_admins_username(); function?’ is closed to new replies.
Skip to toolbar