Uses
Uses | Description |
---|---|
wp-includes/general-template.php: wp_get_archives() | Display archive links based on type and format. |
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
This function has been deprecated. Use wp_get_archives() instead.
Retrieves a list of archives.
(string) (Optional)
Default value: ''
(string) (Optional)
Default value: ''
(string) (Optional)
Default value: 'html'
(string) (Optional)
Default value: ''
(string) (Optional)
Default value: ''
(bool) (Optional)
Default value: false
(string|null)
File: wp-includes/deprecated.php
function get_archives($type='', $limit='', $format='html', $before = '', $after = '', $show_post_count = false) { _deprecated_function( __FUNCTION__, '2.1.0', 'wp_get_archives()' ); $args = compact('type', 'limit', 'format', 'before', 'after', 'show_post_count'); return wp_get_archives($args); }
Version | Description |
---|---|
2.1.0 | Use wp_get_archives() |
0.71 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_archives