A WordPress-centric search engine for devs and theme authors



next_comments_link_attributes ›

Since2.7.0
Deprecatedn/a
apply_filters( 'next_comments_link_attributes', '' )
Parameters:
  • (string) $attributes Attributes for the anchor tag.
    Required: Yes
Defined at:
Codex:

Filters the anchor tag attributes for the next comments page link.





Source

return '<a href="' . esc_url( get_comments_pagenum_link( $nextpage, $max_page ) ) . '" ' . apply_filters( 'next_comments_link_attributes', '' ) . '>' . preg_replace( '/&([^#])(?![a-z]{1,8};)/i', '&#038;$1', $label ) . '</a>';