wordpress snippets last updated   : January 9, 2015
we now have 643 snippets

Add delete and spam actions

wordpress snippet

The first snippet of code should be added to your functions.php of your wordpress theme. Once added you will need to open comments.php and add the second snippet of code to the location you wish to display the delete and spam links. These links will only be displayed for users with the ability to edit posts.

read more