Skip to:
Content
Pages
Categories
Search
Top
Bottom

Cannot exclude the WP users from the group invite tab’s members lists


  • rajagunasekaran
    Participant

    @rajagunasekaran

    I have created a custom meta in the WP user profile page and I just want to filter the user list with exclude query args. I was able to do it in the members directory list using the hook “bp_after_has_members_parse_args” but I am having trouble implementing it in the Invite Members – All Members tab – /groups/GROUP_SLUG/send-invites/. I tried using the hook “nouveau_group_invite_query_exclude_args” to inject the ‘exclude’ args, but it gets overwritten by the $get_group_member_ids values. Therefore, I am unable to pass the custom exclude argument with the query string.

    Please advise.
    Thanks

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