WordPress at a glance
function is not described

get_archives() WP 0.71

Deprecated from version 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. Null. Nothing.

Usage

get_archives( $type, $limit, $format, $before, $after, $show_post_count );
$type(string)
-
$limit(string)
-
$format(string)
-
$before(string)
-
$after(string)
-
$show_post_count *(true false)*

Notes

  • See: wp_get_archives()

Changelog

Since 0.71 Introduced.
Deprecated Since 2.1.0 Use wp_get_archives()

Code of get_archives() WP 5.7

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