Clanbite Teams

do_action( 'clanbite_team_invite_sent', int $notification_id, int $team_id, int $user_id, int $inviter_id )

Fires after a team invite notification is sent.

Action PHP

Parameters

$notification_id (int)

Notification ID.

$team_id (int)

Team ID.

$user_id (int)

User being invited.

$inviter_id (int)

User sending the invite.

Example

add_action( 'clanbite_team_invite_sent', function ( $notification_id, $team_id, $user_id, $inviter_id ) {
	// Run your code.
}, 10, 4 );

Defined in inc/extensions/teams/class-extension-teams.php