Print list of pages based on arguments.
Description
See also
Parameters
$beforestringrequired$afterstringrequired$next_or_numberstringrequired$nextpagelinkstringrequired$previouspagelinkstringrequired$pagelinkstringrequired$more_filestringrequired
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.