Theme function for checking links
In my custom theme, I'd like to hide any broken pingback links in my comments feed. However, I do not want to merely hide the link itself, but the block container as well. It'd be great if I could do something like this:
if (functionexists('blcisbrokenlink'))
{
if (!blcisbrokenlink('http://...'))
{
outputpingback();
}
}
else
{
output_pingback();
}
3
votes
Steven Vachon
shared this idea