//hide username in comments function remove_comment_author_class($classes) { foreach ($classes as $key => $class) { if (strstr($class, "comment-author-")) { unset($classes[$key]); } } return $classes; } add_filter('comment_class', 'remove_comment_author_class');
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter