apply_filters( 'post_rewrite_rules', string[] $post_rewrite )

Filters rewrite rules used for “post” archives.

Parameters Parameters


(string[]) Array of rewrite rules for posts, keyed by their regex pattern.

Top ↑

More Information More Information

This post will only affect content of the post type ‘posts’.

Top ↑

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

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