wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



link_pages › WordPress Function

Od0.71
Przestarzały2.1.0
link_pages ( $before = '<br />', $after = '<br />', $next_or_number = 'number', $nextpagelink = 'next page', $previouspagelink = 'previous page', $pagelink = '%', $more_file = '' )
Parametry: (7)
  • (string) $before
    Wymagane: Nie
    Domyślny: '<br />'
  • (string) $after
    Wymagane: Nie
    Domyślny: '<br />'
  • (string) $next_or_number
    Wymagane: Nie
    Domyślny: 'number'
  • (string) $nextpagelink
    Wymagane: Nie
    Domyślny: 'next page'
  • (string) $previouspagelink
    Wymagane: Nie
    Domyślny: 'previous page'
  • (string) $pagelink
    Wymagane: Nie
    Domyślny: '%'
  • (string) $more_file
    Wymagane: Nie
    Domyślny: (puste)
Zobacz:
Powrót:
  • (string)
Zdefiniowane na:
Codex:

Print list of pages based on arguments.



Źródło

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