BP_Nouveau_Friends::setup_actions()

Register do_action() hooks

Description

Source

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

64
65
66
67
68
69
70
protected function setup_actions() {
    // Remove BuddyPress action for the members loop
    remove_action( 'bp_directory_members_actions', 'bp_member_add_friend_button' );
 
    // Register the friends Notifications filters
    add_action( 'bp_nouveau_notifications_init_filters', array( $this, 'notification_filters' ) );
}

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.