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)
  • () link_html The archive HTML link content.
    Required: Yes
  • () url URL to archive.
    Required: Yes
  • () text Archive text description.
    Required: Yes
  • () format Link format. Can be 'link', 'option', 'html', or custom.
    Required: Yes
  • () before Content to prepend to the description.
    Required: Yes
  • () after Content to append to the description.
    Required: Yes
  • () 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 );