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

apply_filters('comments_popup_link_attributes') is found 1 times:

  • /wp-includes/comment-template.php line 1716
    	 * @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,