link_pages()WP 0.71

Deprecated from version 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.

No Hooks.

Return

String.

Usage

link_pages($before='
', $after='
', $next_or_number='number', $nextpagelink='next page', $previouspagelink='previous page',;

Notes

Changelog

Since 0.71 Introduced.
Deprecated Since 2.1.0 Use wp_link_pages()

Code of link_pages() WP 6.0

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);
}