apply_filters( ‘page_rewrite_rules’, string[] $page_rewrite )

In this article

Filters rewrite rules used for “page” post type archives.

Parameters

$page_rewritestring[]
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

VersionDescription
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.