BP_Nouveau_Friends::setup_filters()
Register add_filter() hooks
Description
Source
File: bp-templates/bp-nouveau/includes/friends/loader.php
protected function setup_filters() { $buttons = array( 'friends_pending', 'friends_is_friend', 'friends_not_friends', 'friends_member_friendship', 'friends_accept_friendship', 'friends_reject_friendship', ); foreach ( $buttons as $button ) { add_filter( 'bp_button_' . $button, 'bp_nouveau_ajax_button', 10, 5 ); } }
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.