Fires after a top-level comment is edited. Editing a reply does not fire this hook.
Parameters
$comment\FluentBoards\App\Models\Comment: the comment after the edit
$oldCommentstring: the comment text before the edit. This is the previous raw description (settings['raw_description'], or description as a fallback), not a model.
Usage
php
add_action('fluent_boards/comment_updated', function ($comment, $oldComment) { $newText = $comment->settings['raw_description'] ?? $comment->description; // $oldComment is the previous text}, 10, 2);
Fires after users are mentioned in a comment and their mention emails are queued. The core handler on this hook creates the in-app notifications.
Parameters
$comment\FluentBoards\App\Models\Comment: the comment that contains the mentions
$userIdsint[]: unique IDs of the mentioned users
Usage
php
add_action('fluent_boards/mention_comment_notification', function ($comment, $userIds) { // Do whatever you want}, 10, 2);
1 2 3
Source:app/Services/NotificationService.php
To change email markup, see the email_header and email_footer filters. Emails are sent from internal Action Scheduler hooks, which are listed under Internal hooks.
Comment & User Action Hooks
FluentBoards Core IntermediateAction hooks for task comments, mentions and user profiles. See the Action Hooks overview for every action hook grouped by area.
Source paths are relative to the plugin root.
Comments
fluent_boards/comment_created
fluent_boards/comment_updated
fluent_boards/comment_deleted
Mentions & Notifications
fluent_boards/mention_comment_notification
To change email markup, see the
email_headerandemail_footerfilters. Emails are sent from internal Action Scheduler hooks, which are listed under Internal hooks.User Profile
fluent_boards/profile_name_updated
fluent_boards/profile_photo_updated