Description
Can be used to replace the avatar output within span.avatar in the comment listing, which contains comment authors’ avatars as well as a link to their sites, if applicable.
Example
function remove_avatar_link($content) {
$allowedtags = '<span><img>'; // HTML tags allowed
$content = strip_tags($content, $allowedtags);
return $content;
}
add_filter('thesis_avatar', 'remove_avatar_link');
History
- This filter was added in version 1.5.