comments_popup_link_attributes

comments_popup_link_attributes

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('comments_popup_link_attributes') is found 1 times:

  • /wp-includes/comment-template.php line 1716
    1712
    1713
    1714
    1715
    1716
    1717
    1718
    1719
    1720
    1721
    1722
    * @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,