Introduction
BuddyBoss does not provide a built-in option to hide deleted messages in private messaging. If you want to completely remove deleted message indicators from the conversation view in BuddyBoss, you can apply a simple CSS snippet to hide them from the interface.
Custom Workaround
- In your WordPress admin, go to BuddyBoss > Theme Options
- Under Custom Codes, toggle Enable CSS to On
- Paste the following CSS:
.bp-single-message-wrap:has(.deleted-message) {
display: none !important;
}- Click Save Changes
Troubleshooting and FAQs
Q: The deleted message text is still visible. What should I check
A: Clear your site cache, any caching plugin, and CDN cache. Also make sure the CSS was pasted exactly as shown and that Enable CSS is turned on before saving.
Q: Will this remove deleted messages for all users
A: Yes. This CSS hides deleted message containers globally for all users viewing private messages.
Q: Does this affect normal messages
A: No. Only messages marked as deleted using the .deleted-message class are hidden.
Q: Is this safe to use with future BuddyBoss updates
A: While generally safe, custom CSS may require adjustment if BuddyBoss updates change the message markup.