apply_filters( 'page_rewrite_rules', string[] $page_rewrite )
Filters rewrite rules used for “page” post type archives.
Parameters
- $page_rewrite
-
(string[]) Array of rewrite rules for the "page" post type, keyed by their regex pattern.
Source
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/page_rewrite_rules