friends_notification_accepted_request_to
Filters the email address for whose friend request got accepted.
Description
Parameters (1)
- 0. $value (string)
- Email address for whose friend request got accepted.
Usage
- To run the hook, copy the example below.
- $value = apply_filters( 'friends_notification_accepted_request_to', $value );
- if ( !empty( $value ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the friends_notification_accepted_request_to callback
- function filter_friends_notification_accepted_request_to( $value ) {
- // make filter magic happen here...
- return $value;
- };
- // add the filter
- add_filter( 'friends_notification_accepted_request_to', 'filter_friends_notification_accepted_request_to', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'friends_notification_accepted_request_to', 'filter_friends_notification_accepted_request_to', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /bp-core/deprecated/2.5.php
- $value = apply_filters( 'friends_notification_accepted_request_to', $value );