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



post_rewrite_rules › WordPress Filter Hooks

Since1.5.0
Deprecatedn/a
apply_filters( 'post_rewrite_rules', $post_rewrite )
Parameters:
  • (string[]) $post_rewrite Array of rewrite rules for posts, keyed by their regex pattern.
    Required: Yes
Defined at:
Codex:

Filters rewrite rules used for "post" archives.





Source

$post_rewrite = apply_filters( 'post_rewrite_rules', $post_rewrite );