Clanbite

handle_notification_actions( array|null $result, string $handler, object $notification, array $action, int $user_id ): array|null

Handle notification actions for team-related notifications.

public

Class: Kernowdev\Clanbite\Extensions\Teams

Parameters

$result (array|null) Required

Current result (null if not handled).

$handler (string) Required

Handler identifier.

$notification (object) Required

Notification object.

$action (array) Required

Action configuration.

$user_id (int) Required

User executing the action.

Returns

array|null Result array or null to pass to next handler.

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