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 gVectors community!

Merry Christmas and Happy Holidays! 🎄

Confirmation on deleting user notifications

4 Posts
2 Users
1 Reactions
694 Views
Posts: 2
Topic starter
(@tradoholic)
Active Member
Joined: 5 months ago

When deleting user notifications (bell) in wpDiscuz, it is always necessary to confirm the deletion.

I find it rather annoying.

Could I disable the confirmation message when deleting user notifications?

Thank you in advance


3 Replies
Astghik
Posts: 6581
Admin
(@astgh)
Illustrious Member
Joined: 8 years ago

I'll ask the developers and get back to you soon. 


Reply
Astghik
Posts: 6581
Admin
(@astgh)
Illustrious Member
Joined: 8 years ago

Hi,

The developers will try to provide a solution in the next version of the addon. I’ll update this topic once the solution is implemented.


Reply
Astghik
Posts: 6581
Admin
(@astgh)
Illustrious Member
Joined: 8 years ago

Hi @tradoholic,

The next version will be ready within a few days.

The following changes have been made in the plugin code:

1. If you leave the option shown in the screenshot below empty, it will not ask for confirmation when deleting notifications from the frontend.

» Settings ‹ wpDiscuz — WordPress — Mozilla Firefox

2. From the Dashboard (see the related options in the screenshot), if you want to disable the confirmation, you can use the following hooks:

add_filter("wpdiscuz_un_backend_phrase_delete_all", function($phrase){
   return "";
});

In the same way, you can use the following hooks for the last two options:

1. wpdiscuz_un_backend_phrase_delete_all
2. wpdiscuz_un_backend_phrase_delete_expired
3. wpdiscuz_un_backend_phrase_delete_read

backend

I'll let you know once the new version is ready. 


Reply
Share:
Scroll to top