Filters rewrite rules used for “post” archives.
Parameters
$post_rewrite
string[]- Array of rewrite rules for posts, keyed by their regex pattern.
Source
$post_rewrite = apply_filters( 'post_rewrite_rules', $post_rewrite );
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.