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

File: wp-includes/class-wp-rewrite.php.

View all references

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

Leave a Reply

Your email address will not be published. Required fields are marked *