bp_nouveau_activity_notification_filters()
Register notifications filters for the activity component.
Description
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', 'buddyboss' ),
'position' => 5,
),
array(
'id' => 'update_reply',
'label' => __( 'New update replies', 'buddyboss' ),
'position' => 15,
),
array(
'id' => 'comment_reply',
'label' => __( 'New update comment replies', 'buddyboss' ),
'position' => 25,
),
);
foreach ( $notifications as $notification ) {
bp_nouveau_notifications_register_filter( $notification );
}
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 3.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.