previous_comments_link_attributes WordPress Filter Hook
The previous_comments_link_attributes hook is used to modify the attributes of the previous comments link. This hook is useful for making the link more accessible, for example by adding a title attribute.
apply_filters( 'previous_comments_link_attributes', string $attributes ) #
Filters the anchor tag attributes for the previous comments page link.
Parameters
- $attributes
(string)Attributes for the anchor tag.
Source
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |