Filters the HTML output of individual page number links.
$linkstring$iintwp-includes/post-template.php:1008wp_link_pages()wp-includes/post-template.php:1022wp_link_pages()wp-includes/post-template.php:1032wp_link_pages()<?php * * @since 3.6.0 * * @param string $link The page number HTML output. * @param int $i Page number for paginated posts' page links. */ $link = apply_filters( 'wp_link_pages_link', $link, $i ); // Use the custom links separator beginning with the second link. $output .= ( 1 === $i ) ? ' ' : $parsed_args['separator']; $output .= $link; } $output .= $parsed_args['after'];Introduced in 3.6.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.