Skip to:
Content

BuddyPress.org

Changeset 9206


Ignore:
Timestamp:
12/01/2014 07:09:06 PM (10 years ago)
Author:
boonebgorges
Message:

Add hook documentation to bp-friends-classes.php.

Props tw2113.
Fixes #5942.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-friends/bp-friends-classes.php

    r8541 r9206  
    146146        $this->date_created      = apply_filters( 'friends_friendship_date_created_before_save',      $this->date_created,      $this->id );
    147147
     148        /**
     149         * Fires before processing and saving the current friendship request.
     150         *
     151         * @since BuddyPress (1.0.0)
     152         *
     153         * @param Object $value Current friendship request object.
     154         */
    148155        do_action_ref_array( 'friends_friendship_before_save', array( &$this ) );
    149156
     
    158165        }
    159166
     167        /**
     168         * Fires after processing and saving the current friendship request.
     169         *
     170         * @since BuddyPress (1.0.0)
     171         *
     172         * @param Object $value Current friendship request object.
     173         */
    160174        do_action( 'friends_friendship_after_save', array( &$this ) );
    161175
Note: See TracChangeset for help on using the changeset viewer.