Filters the comment author's name for display.
$comment_authorstring$comment_idstringwp-includes/comment-template.php:82comment_author()<?php * @since 1.2.0 * @since 4.1.0 The `$comment_id` parameter was added. * * @param string $comment_author The comment author's username. * @param string $comment_id The comment ID as a numeric string. */ echo apply_filters( 'comment_author', $comment_author, $comment->comment_ID );} /** * Retrieves the email of the author of the current comment. * * @since 1.5.0Introduced in 1.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.