BP_Nouveau_Friends::notification_filters()
Register notifications filters for the friends component.
Description Description
Source Source
File: bp-templates/bp-nouveau/includes/friends/loader.php
public function notification_filters() { $notifications = array( array( 'id' => 'friendship_accepted', 'label' => __( 'Accepted friendship requests', 'buddypress' ), 'position' => 35, ), array( 'id' => 'friendship_request', 'label' => __( 'Pending friendship requests', 'buddypress' ), 'position' => 45, ), ); foreach ( $notifications as $notification ) { bp_nouveau_notifications_register_filter( $notification ); } }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |