• wpexplorer

    (@wpexplorer)


    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 );
  • The topic ‘Works as it should – Quick suggestion though ;)’ is closed to new replies.