comment_author_link_rel
comment_author_link_rel
Appears in: wordpress-6.2, wordpress-6.2.1, wordpress-6.2.2, wordpress-6.3, wordpress-6.3.1, wordpress-6.3.2, wordpress-6.4, wordpress-6.4.1, wordpress-6.4.2, wordpress-6.4.3, wordpress-6.5, wordpress-6.5.2, wordpress-6.5.3, wordpress-6.5.4, wordpress-6.5.5, wordpress-6.6, wordpress-6.6.1, wordpress-6.6.2, wordpress-6.7, wordpress-6.7.1, wordpress-6.7.2
Hook Type: filter
Displaying hooks found in version: wordpress-6.7.2apply_filters('comment_author_link_rel') is found 1 times:
- /wp-includes/comment-template.php line 267263264265266267268269270271272
* @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
) :
''
;