bp_nouveau_activity_notification_filters()
Register notifications filters for the activity component.
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 ); } }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |