Filters the rel attributes of the comment author's link.
$rel_partsstring[]$commentWP_Commentwp-includes/comment-template.php:267get_comment_author_link()<?php * @since 6.2.0 * * @param string[] $rel_parts An array of strings representing the rel tags * which will be joined into the anchor's rel attribute. * @param WP_Comment $comment The comment object. */ $rel_parts = apply_filters( 'comment_author_link_rel', $rel_parts, $comment ); $rel = implode( ' ', $rel_parts ); $rel = esc_attr( $rel ); // Empty space before 'rel' is necessary for later sprintf(). $rel = ! empty( $rel ) ? sprintf( ' rel="%s"', $rel ) : ''; Introduced in 6.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.