Reject Comments Based on Author Email
I know that I can't guarantee emails are valid without signups, but I noticed a problematic user wanting to troll was using @example.com
email addresses.
How might I maintain a blacklist of such domains for comment authors? Specifically, how might I reject comments immediately if such a domain is used, notifying the user as such?
A wp_die('you must use a real email');
will likely do the trick, but which filter/when should the check be made?
Topic email comments moderation Wordpress
Category Web