Remove WordPress Comments Author URL

Below is the sample filter to remove author URL on comments list by returning the author name only:

function remove_author_url( $comment_ID = 0 ) {
    $comment = get_comment( $comment_ID );
    return get_comment_author( $comment );    
add_filter( 'get_comment_author_link', 'remove_author_url' );

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.