WordPress at a glance
function is not described

get_archives() WP 0.71

Deprecated in 2.1.0. It is no longer supported and can be removed in future releases. Use wp_get_archives() instead.

Retrieves a list of archives.

No Hooks.

Return

String/null.

Usage

get_archives( $type, $limit, $format, $before, $after, $show_post_count );
$type(string)

Default: ''
$limit(string)

Default: ''
$format(string)

Default: 'html'
$before(string)

Default: ''
$after(string)

Default: ''
$show_post_count(true/false)

Default: false

Notes

  • See: wp_get_archives()

Changelog

Since DEL 2.1.0 Introduced.

Code of get archives: wp-includes/deprecated.php WP 5.2.2

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