groups_notification_group_updated_message
Filters the group update notification message that will be sent to user.
Description
Parameters (1)
- 0. $array (array) =>
array( $value, &$tokens['group'], $tokens['group.url'], '' )
- The array.
Usage
- To run the hook, copy the example below.
- $array = apply_filters( 'groups_notification_group_updated_message', $array );
- if ( !empty( $array ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the groups_notification_group_updated_message callback
- function filter_groups_notification_group_updated_message( $array ) {
- // make filter magic happen here...
- return $array;
- };
- // add the filter
- add_filter( 'groups_notification_group_updated_message', 'filter_groups_notification_group_updated_message', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'groups_notification_group_updated_message', 'filter_groups_notification_group_updated_message', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /bp-core/deprecated/2.5.php
- $value = apply_filters_ref_array( 'groups_notification_group_updated_message', array( $value, &$tokens['group'], $tokens['group.url'], '' ) );