previous_comments_link_attributes

过滤钩子


apply_filters( 'previous_comments_link_attributes', '' )
参数
  • (string)
    $attributes
    Attributes for the anchor tag.
    Required:
定义位置
  • wp-includes/link-template.php
    , line 3112
引入
2.7.0
弃用

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

return '' . preg_replace( '/&([^#])(?![a-z]{1,8};)/i', '&$1', $label ) . '';