wpseek.com
A WordPress-centric search engine for devs and theme authors



get_archives_link › WordPress Filter Hooks

Since5.2.0
Deprecatedn/a
apply_filters( 'get_archives_link', $link_html, $url, $text, $format, $before, $after, $selected )
Parameters: (7)
  • (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
  • (bool) $selected True if the current page is the selected archive.
    Required: Yes
Defined at:
Codex:

Filters the archive link content.





Source

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