BP_Nouveau_Follow::setup_filters()
Register add_filter() hooks
Description
Source
File: bp-templates/bp-nouveau/includes/follow/loader.php
protected function setup_filters() {
$buttons = array(
'members_member_follow',
);
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.