Used By
Used By | Description |
---|---|
wp-includes/general-template.php: get_archives_link() | Retrieve archive link content based on predefined or custom code. |
Filters the archive link content.
(string) The archive HTML link content.
(string) URL to archive.
(string) Archive text description.
(string) Link format. Can be 'link', 'option', 'html', or custom.
(string) Content to prepend to the description.
(string) Content to append to the description.
(bool) True if the current page is the selected archive.
Version | Description |
---|---|
5.2.0 | Added the $selected parameter. |
4.5.0 | Added the $url , $text , $format , $before , and $after parameters. |
2.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_archives_link