wpseek.com
A WordPress-centric search engine for devs and theme authors



comments_rewrite_rules › WordPress Filter Hooks

Since1.5.0
Deprecatedn/a
apply_filters( 'comments_rewrite_rules', $comments_rewrite )
Parameters:
  • (string[]) $comments_rewrite Array of rewrite rules for the site-wide comments feeds, keyed by their regex pattern.
    Required: Yes
Defined at:
Codex:

Filters rewrite rules used for comment feed archives.

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





Source

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