wordpress snippets last updated   : January 29, 2015
we now have 646 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