Support » Plugin: Remove Website URL Field From Comment Form » Works as it should – Quick suggestion though ;)

  • Great plugin. But it would be helpful to also remove existing links. Example:

    add_filter( 'get_comment_author_url', function( $url, $comment_ID, $comment ) {
        if ( ! is_admin()
            && $comment->user_id !== get_post()->post_author
            && ! user_can( $comment->user_id, 'manage_options' )
        ) {
            return '';
        }
        return $url;
    }, 10, 3 );
  • You must be logged in to reply to this review.