BP_Nouveau_Friends: setup_actions ()
注册do_action()挂钩
描述
源
文件:bp-templates / bp-nouveau / /朋友/ loader.php包括
protected函数setup_actions(){//删除成员循环的BuddyPress动作remove_action('bp_directory_members_actions', 'bp_member_add_friend_button');//注册好友通知过滤器add_action('bp_nouveau_notifications_init_filters', array($this, 'notification_filters');}
更新日志
版本 | 描述 |
---|---|
BuddyPress 3.0.0 | 介绍了。 |