link_pages()WP 0.71

Устарела с версии 2.1.0. Больше не поддерживается и может быть удалена. Используйте wp_link_pages().

Print list of pages based on arguments.

Хуков нет.

Возвращает

Строку.

Использование

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

Заметки

Список изменений

С версии 0.71 Введена.
Устарела с 2.1.0 Use wp_link_pages()

Код link_pages() WP 6.5.2

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