W3cubDocs

/WordPress

apply_filters( ‘wp_link_pages_link’, string $link, int $i )

Filters the HTML output of individual page number links.

Parameters

$linkstring
The page number HTML output.
$iint
Page number for paginated posts’ page links.

Source

$link = apply_filters( 'wp_link_pages_link', $link, $i );

Changelog

Version Description
3.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_link_pages_link