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



date_rewrite_rules ›

Since1.5.0
已弃用n/a
apply_filters( 'date_rewrite_rules', $date_rewrite )
参数:
  • (array) $date_rewrite The rewrite rules for date archives.
    Required: Yes
定义在:
文档:

Filters rewrite rules used for date archives.

Likely date archives would include /yyyy/, /yyyy/mm/, and /yyyy/mm/dd/.





源码

$date_rewrite = apply_filters( 'date_rewrite_rules', $date_rewrite );