Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hook before friendship request is sent


  • heath1224
    Participant

    @heath1224

    I’ve been searching with no luck to find a hook to add a function before a friendship request is sent. I want to add some requirements before allowing a request to be sent, but can’t figure out how to hook into the request before it’s sent.

    Any help is appreciated!

Viewing 1 replies (of 1 total)

  • shanebp
    Moderator

    @shanebp

    Try
    do_action_ref_array( 'friends_friendship_before_save', array( &$this ) );

    Found in
    buddypress\bp-friends\classes\class-bp-friends-friendship.php

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar