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.

Top ↑

Source

File: wp-includes/class-wp-rewrite.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes

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