apply_filters( 'clanbite_social_kit_mention_notification', array|false $notification_data, array $mention, int $author_id, string $context )Filter mention notification data before sending.
Passed to clanbite_notify( user_id, type, title, args ) (Clanbite Notifications extension). Must include user_id, type, and title; other keys become $args.
Filter PHP
Parameters
$notification_data(array|false)Notification payload, or false to skip.
$mention(array)Mention data.
$author_id(int)Author user ID.
$context(string)'post' or 'comment'.
Example
add_filter( 'clanbite_social_kit_mention_notification', function ( $notification_data, $mention, $author_id, $context ) {
// Change $notification_data here.
return $notification_data;
}, 10, 4 );Defined in inc/Social/Mentions.php