The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Block comments base...
 
Share:
Notifications
Clear all

Question [Solved] Block comments based on specific words used as usernames

2 Posts
2 Users
0 Reactions
406 Views
Posts: 4
Topic starter
(@lookazd)
Active Member
Joined: 11 months ago

Hy

I would like to block/hide comments based on specific words used as usernames.
Specifically I would like to disable/unapproved comments for users who are using "X" word in their usernames.

So for example if I'm a new user and want to add a new comment and I put that "X" word in my username, then my comment will automatically be unapproved.

Is that possible to achieve? Maybe through some PHP code added in functions.php?

tnx!

1 Reply
Asti
Posts: 7666
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

We're really sorry, but wpDiscuz doesn't have such a feature. 

Share: