Filters the comments link attributes for display.
$link_attributesstringwp-includes/comment-template.php:1712comments_popup_link() * Filters the comments link attributes for display. * * @since 2.5.0 * * @param string $link_attributes The comments link attributes. Default empty. */ $link_attributes = apply_filters( 'comments_popup_link_attributes', $link_attributes ); printf( '<a href="%1$s"%2$s%3$s>%4$s</a>', esc_url( $comments_link ), ! empty( $css_class ) ? ' class="' . $css_class . '" ' : '', $link_attributes,Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.