WordPress at a glance
function is not described

link_pages() WP 0.71

Deprecated in 2.1.0. It is no longer supported and can be removed in future releases. Use wp_link_pages() instead.

Print list of pages based on arguments.

  • See: wp_link_pages()

No Hooks.

Return

String.

Usage

link_pages($before='
', $after='
', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page',;
$before(string) (required)
$after(string) (required)
$next_or_number(string) (required)
$nextpagelink(string) (required)
$previouspagelink(string) (required)
$pagelink(string) (required)
$more_file(string) (required)

Code of link pages: wp-includes/deprecated.php VER 5.0.3

<?php
function link_pages($before='<br />', $after='<br />', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page',
					$pagelink='%', $more_file='') {
	_deprecated_function( __FUNCTION__, '2.1.0', 'wp_link_pages()' );

	$args = compact('before', 'after', 'next_or_number', 'nextpagelink', 'previouspagelink', 'pagelink', 'more_file');
	return wp_link_pages($args);
}