Clanbite Events

apply_filters( 'clanbite_event_member_outreach_user_ids', list<int> $user_ids, int $event_id, string $scope, int $team_id, int $group_id, string $mode )

Filter user IDs included in event member outreach (notifications / tentative RSVPs).

Filter PHP

Parameters

$user_ids (list<int>)

User IDs.

$event_id (int)

cp_event post ID.

$scope (string)

cp_event_scope meta (team or group).

$team_id (int)

Team post ID when scope is team.

$group_id (int)

Group object ID when scope is group.

$mode (string)

Outreach mode (none, notify, rsvp_tentative).

Example

add_filter( 'clanbite_event_member_outreach_user_ids', function ( $user_ids, $event_id, $scope, $team_id, $group_id, $mode ) {
	// Change $user_ids here.
	return $user_ids;
}, 10, 6 );

Defined in inc/events/class-event-member-outreach.php