We have a few different websites running various versions of WordPress that have comments and trackbacks turned off, yet I still receive emails saying there’s some waiting for me!
I’ve turned them both off in the admin area and also removed the comments box completely yet I still get them, how can I fully turn them off?
To prevent comments receiving add following line to your
functions.php
file:And to prevent trackbacks receiving just add this snippet: