Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

wpForo 1.x.x [Solved] About users's notificacions

3 Posts
2 Users
1 Reactions
1,200 Views
Posts: 21
Topic starter
(@alber)
Eminent Member
Joined: 6 years ago

¿Is there any code or modification for only show mentions and replies?


2 Replies
Robert
Posts: 10600
Admin
(@robert)
Support Team
Joined: 10 years ago

Hi @alber,

Yes, you should put this custom code in your current active WordPress functions.php file:

function my_custom_foro_notifications_filter( $args ){
if( !empty($args) ){
$args['types_exclude'] = array('new_like', 'new_up_vote', 'new_down_vote');
}
return $args;
}
add_filter('wpforo_get_notifications_args', 'my_custom_foro_notifications_filter', 10, 1);

How to Easily Add Custom Code in WordPress (without Breaking Your Site)


Posts: 21
Topic starter
(@alber)
Eminent Member
Joined: 6 years ago

THANKS!