apply_filters( 'bp_nouveau_btn_invites_mce_buttons', array $session, int $user_id )

Attaches the original user ID and session token to the new session when a user switches to another user.

Description

Parameters

$session

Array of extra data.

$user_id

User ID.

Return

(array) Array of extra data.

Source

File: bp-members/bp-members-functions.php

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.