function strip_attribute_from_tag($refs) { $tag = FeedWordPressHTML::attributeMatch($refs); return $tag['before_attribute'] . $tag['after_attribute']; }