Uses
Uses | Description |
---|---|
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
wp-includes/post-template.php: wp_link_pages() | The formatted output of a list of pages. |
This function has been deprecated. Use wp_link_pages() instead.
Print list of pages based on arguments.
(string) (Optional)
Default value: '<br />'
(string) (Optional)
Default value: '<br />'
(string) (Optional)
Default value: 'number'
(string) (Optional)
Default value: 'next page'
(string) (Optional)
Default value: 'previous page'
(string) (Optional)
Default value: '%'
(string) (Optional)
Default value: ''
(string)
File: wp-includes/deprecated.php
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); }
Version | Description |
---|---|
2.1.0 | Use wp_link_pages() |
0.71 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/link_pages