A WordPress-centric search engine for devs and theme authors



previous_comments_link_attributes ›

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

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





Source

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