BP_Nouveau_Friends: notification_filters ()
为好友组件注册通知过滤器。
描述
源
文件:bp-templates / bp-nouveau / /朋友/ loader.php包括
public function notification_filters() {$notifications = array(array('id' => 'friendship_accepted', 'label' => __('已接受的连接请求','buddyboss'), 'position' => 35,), array('id' => 'friendship_request', 'label' => __('Pending连接请求','buddyboss'), 'position' => 45,);Foreach ($notifications as $notification) {bp_nouveau_notifications_register_filter($notification);} }
更新日志
版本 | 描述 |
---|---|
BuddyPress 3.0.0 | 介绍了。 |