bp_nouveau_activity_notification_filters()
Register notifications filters for the activity component.
Description
Source
File: bp-templates/bp-nouveau/includes/activity/functions.php
537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 | 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.