friends_remove_data, $user_id

friends_remove_data, $user_id

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('friends_remove_data, $user_id') is found 1 times:

  • /bp-friends/bp-friends-functions.php line 774
    	 * @since 1.0.0
    	 *
    	 * @param int $user_id ID for the user whose friend data is being removed.
    	 */
    	do_action( 'friends_remove_data', $user_id );
    }
    add_action( 'wpmu_delete_user', 'friends_remove_data' );
    add_action( 'bp_make_spam_user', 'friends_remove_data' );
    
    /**
     * Deletes user Friends data on the 'delete_user' hook.