WordPress at Your Fingertips
filter is not described

previous_posts_link_attributes filter-hook . WP 2.7.0

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

Usage

add_filter( 'previous_posts_link_attributes', 'filter_function_name_9194' );
function filter_function_name_9194( $attributes ){
	// filter...

	return $attributes;
}
$attributes(string)
Attributes for the anchor tag.

Changelog

Since 2.7.0 Introduced.

Where the hook is called

get_previous_posts_link()
previous_posts_link_attributes
wp-includes/link-template.php 2578
$attr = apply_filters( 'previous_posts_link_attributes', '' );

Where in WP core the hook is used WordPress

wp-includes/blocks/query-pagination-previous.php 31
add_filter( 'previous_posts_link_attributes', $filter_link_attributes );
wp-includes/blocks/query-pagination-previous.php 33
remove_filter( 'previous_posts_link_attributes', $filter_link_attributes );