A WordPress-centric search engine for devs and theme authors



link_pages ›

Since0.71
Deprecated2.1.0
link_pages ( $before = '<br />', $after = '<br />', $next_or_number = 'number', $nextpagelink = 'next page', $previouspagelink = 'previous page', $pagelink = '%', $more_file = '' )
Parameters: (7)
  • (string) $before
    Required: No
    Default: '<br />'
  • (string) $after
    Required: No
    Default: '<br />'
  • (string) $next_or_number
    Required: No
    Default: 'number'
  • (string) $nextpagelink
    Required: No
    Default: 'next page'
  • (string) $previouspagelink
    Required: No
    Default: 'previous page'
  • (string) $pagelink
    Required: No
    Default: '%'
  • (string) $more_file
    Required: No
    Default: (empty)
See:
Returns:
  • (string)
Defined at:
Codex:

Print list of pages based on arguments.



Source

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