Simple Function to Remove URLs Posted in Wordpress Comments
As part of an effort to combat spam for a web design client using wordpress, I have been tasked with removing urls from comments that are posted to his wordpress blog. Most articles and tutorials on the web mention removing the comment input field from the comments form. This, however, won't work since most spam bots are posting their generated comments directly to wordpress and are bypassing the comments form directly.