groups_notification_group_update_updated_items
Filters the bullet points listing updated items in the email notification after a group is updated.
Description
Parameters (1)
- 0. $changed (array)
- Array of bullet points.
Usage
- To run the hook, copy the example below.
- $changed = apply_filters( 'groups_notification_group_update_updated_items', $changed );
- if ( !empty( $changed ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the groups_notification_group_update_updated_items callback
- function filter_groups_notification_group_update_updated_items( $changed ) {
- // make filter magic happen here...
- return $changed;
- };
- // add the filter
- add_filter( 'groups_notification_group_update_updated_items', 'filter_groups_notification_group_update_updated_items', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'groups_notification_group_update_updated_items', 'filter_groups_notification_group_update_updated_items', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /bp-groups/bp-groups-notifications.php
- $changed = apply_filters( 'groups_notification_group_update_updated_items', $changed );