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



comments_rewrite_rules ›

Since1.5.0
已弃用n/a
apply_filters( 'comments_rewrite_rules', $comments_rewrite )
参数:
  • (array) $comments_rewrite The rewrite rules for the site-wide comments feeds.
    Required: Yes
定义在:
文档:

Filters rewrite rules used for comment feed archives.

Likely comments feed archives include /comments/feed/, and /comments/feed/atom/.





源码

$comments_rewrite = apply_filters( 'comments_rewrite_rules', $comments_rewrite );