Thanks for your reply @danbp, but it’s not what I meant. I want to remove the mention name from activity updates (or posts) not from the header.
Buddypress wrap the mention name in a link. Instead of wrapping it, I want it to delete it completely. (the mention name should still presented in the database but not visible on activity updates). Maybe there is a way to add to that link a css class and set it to display:none. The problem is that I can’t find in the code where it wraps the mention name.
Reference file: buddypress/bp-activity/bp-activity-filters.php
How to remove @mention from updates, forum posts, etc
When searching (and/or tweaking) code in BuddyPress, use a text editor like Notepad++. This editor provide also a robust search tool. It’s much faster to work with the right tool as to wait for a response on a forum…. 😉
@danbp, thank you for the reply and for putting some effort.
I’m familiar with that link and also checked bp-activity-filters.php before posted on this forum.
I wouldn’t post here without trying to figure it out by myself.
For some strange reason, when I tried to edit that file it haven’t done any change. Now I tried it again and it is working. Probably I was tired or something and did something wrong.
Anyway, I wouldn’t go back to that file without you so thank you very much.