A WordPress-centric search engine for devs and theme authors



get_archives_link ›

Since4.5.0
Deprecatedn/a
apply_filters( 'get_archives_link', $link_html, $url, $text, $format, $before, $after )
Parameters: (6)
  • (string) $link_html The archive HTML link content.
    Required: Yes
  • (string) $url URL to archive.
    Required: Yes
  • (string) $text Archive text description.
    Required: Yes
  • (string) $format Link format. Can be 'link', 'option', 'html', or custom.
    Required: Yes
  • (string) $before Content to prepend to the description.
    Required: Yes
  • (string) $after Content to append to the description.
    Required: Yes
Defined at:
Codex:

Filters the archive link content.





Source

return apply_filters( 'get_archives_link', $link_html, $url, $text, $format, $before, $after );