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



year_link › WordPress过滤钩子

Since1.5.0
已弃用n/a
apply_filters( 'year_link', $yearlink, $year )
参数: (2)
  • (string) $yearlink Permalink for the year archive.
    Required: Yes
  • (int) $year Year for the archive.
    Required: Yes
定义在:
文档:

Filters the year archive permalink.





源码

return apply_filters( 'year_link', $yearlink, $year );