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
$page_rewrite = apply_filters( 'page_rewrite_rules', $page_rewrite );
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.