trigger: User requests to join a private group action: recieve email

  • Participant
    Level: Enlightened
    Posts: 92
    טליה שוורץ on #41051

    hello everyone
    how can i apply this:
    User requests to join a private group (specific one. not any private group)
    send him an email that sais – Send us a reference that you belong to this profession group

    I’m trying to find a way to let the user know what the entry conditions are for a particular private group. How can this be done?

    it sound so basic i but i cant find such a soultion,
    do you have any?

  • Keymaster
    (BuddyDev Team)
    Posts: 22546
    Brajesh Singh on #41090

    Thank you for the question.

    Here is the action fired on private group membership request.

    do_action( 'groups_membership_requested', $user_id, $admins, $group_id, $request_id );

    You can hook to the action ‘groups_membership_requested’ and check for the 3rd parameter, which is the group id.


You must be logged in to reply to this topic.

This topic is: not resolved