apply_filters( 'bp_activity_new_at_mention_permalink', string $link, int $item_id, int $secondary_item_id, int $total_items )

Filters the mention notification permalink.

Description

The two possible hooks are bp_activity_new_at_mention_permalink or activity_get_notification_permalink.

Parameters

$link

(string) HTML anchor tag for the interaction.

$item_id

(int) The permalink for the interaction.

$secondary_item_id

(int) How many items being notified about.

$total_items

(int) ID of the activity item being formatted.

Source

File: bp-activity/bp-activity-notifications.php

Changelog

Changelog
Version Description
BuddyBoss 1.2.5 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.