Filter hook 'the_posts_pagination_args'

in WP Core File wp-includes/link-template.php at line 2962

Description

Filters the arguments for posts pagination links. Default 'Posts navigation'. }

Occurrences

Filename Line Number
wp-includes/link-template.php 2962

Parameters

Type Name Description
array $args { Optional. Default pagination arguments, see paginate_links().

PHP Doc

/**
		 * Filters the arguments for posts pagination links.
		 *
		 * @since 6.1.0
		 *
		 * @param array $args {
		 *     Optional. Default pagination arguments, see paginate_links().
		 *
		 *     @type string $screen_reader_text Screen reader text for navigation element.
		 *                                      Default 'Posts navigation'.
		 *     @type string $aria_label         ARIA label text for the nav element. Default 'Posts'.
		 *     @type string $class              Custom class for the nav element. Default 'pagination'.
		 * }
		 */