Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to change multiple notification to each single notification


  • toffee
    Participant

    @toffeetoffee

    I looking around buddypress/bp-groups.php

    function groups_format_notifications( $action, $item_id, $secondary_item_id, $total_items ) {

    if ( (int)$total_items > 1 ) return apply_filters( ‘bp_groups_multiple_new_membership_requests_notification’, ……. )
    else return apply_filters( ‘bp_groups_single_new_membership_request_notification’, ……)

    }

    but I don’t know how to loop single notification instead of using multiple notification.

Viewing 1 replies (of 1 total)

  • toffee
    Participant

    @toffeetoffee

    if ‘User A’ is admin of two private groups (B and C)
    when members request to join those groups, the notification is sent to ‘User A’ with multiple notification
    the notification may look like this: “2 requests group membership”
    the problem is the link of notification is just only one of two group, when click that notification, it will redirect to group admin request (B or C), and notification will gone.

    brief: request is both B and C but notification link is only B or C
    So, I’d like to change multiple notification to each single notification or any idea to fix above problem, please help.

Viewing 1 replies (of 1 total)
  • The topic ‘How to change multiple notification to each single notification’ is closed to new replies.
Skip to toolbar