wpseek.com
WordPress开发者和主题制作者的搜索引擎



get_archives_link › WordPress过滤钩子

Since5.2.0
已弃用n/a
apply_filters( 'get_archives_link', $link_html, $url, $text, $format, $before, $after, $selected )
参数: (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
定义在:
文档:

Filters the archive link content.





源码

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