BP_Nouveau_Follow::setup_filters()

Register add_filter() hooks

Description

Source

File: bp-templates/bp-nouveau/includes/follow/loader.php

71
72
73
74
75
76
77
78
79
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

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.