Print list of pages based on arguments.
Description
See also
Parameters
$before
stringoptionalDefault:
'<br />'
$after
stringoptionalDefault:
'<br />'
$next_or_number
stringoptionalDefault:
'number'
$nextpagelink
stringoptionalDefault:
'next page'
$previouspagelink
stringoptionalDefault:
'previous page'
$pagelink
stringoptionalDefault:
'%'
$more_file
stringoptionalDefault:
''
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);
}
Changelog
Version | Description |
---|---|
2.1.0 | Use wp_link_pages() |
0.71 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.