comment_author_link_rel

comment_author_link_rel

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('comment_author_link_rel') is found 1 times:

  • /wp-includes/comment-template.php line 267
    		 * @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 ) : '';