Core Function
View Source on Trac ↗ wp_get_archives()
wp_get_archives( mixed $args = '' ) Displays archive links based on type and format.
Parameters 1 required
| Name / Type | Description |
|---|---|
| mixed | (string | array) $args { Default archive links arguments. Optional. Required |
Return Value
((void)
| string) Void if 'echo' argument is true, archive links if 'echo' is false.
Function Information
Since Version
1.2.0
Source File
wp-includes/general-template.php
Advertisement