wordpress snippets last updated   : October 6, 2014
we now have 641 snippets

Deny comment no referrer requests

wordpress snippet

Adding this PHP code to the functions.php will check the referrer when a user posts a comment to ensure they are not a BOT. Thanks to Joost de Valk for this little snippet,

read more