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



page_rewrite_rules › WordPress Filter Hooks

Since1.5.0
Deprecatedn/a
apply_filters( 'page_rewrite_rules', $page_rewrite )
Parameters:
  • (string[]) $page_rewrite Array of rewrite rules for the "page" post type, keyed by their regex pattern.
    Required: Yes
Defined at:
Codex:

Filters rewrite rules used for "page" post type archives.





Source

$page_rewrite = apply_filters( 'page_rewrite_rules', $page_rewrite );