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.


Top ↑

Source

File: wp-includes/link-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More