previous_posts_link_attributes

过滤钩子


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

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

$attr = apply_filters( 'previous_posts_link_attributes', '' );