bp_nouveau_activity_notification_filters()
Register notifications filters for the activity component.
Description Description
Source Source
File: bp-templates/bp-nouveau/includes/activity/functions.php
function bp_nouveau_activity_notification_filters() {
$notifications = array(
array(
'id' => 'new_at_mention',
'label' => __( 'New mentions', 'buddypress' ),
'position' => 5,
),
array(
'id' => 'update_reply',
'label' => __( 'New update replies', 'buddypress' ),
'position' => 15,
),
array(
'id' => 'comment_reply',
'label' => __( 'New update comment replies', 'buddypress' ),
'position' => 25,
),
);
foreach ( $notifications as $notification ) {
bp_nouveau_notifications_register_filter( $notification );
}
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |