apply_filters( "{$permastructname}_rewrite_rules", array $rules )

Filters rewrite rules used for individual permastructs.

Description Description

The dynamic portion of the hook name, $permastructname, refers to the name of the registered permastruct, e.g. ‘post_tag’ (tags), ‘category’ (categories), etc.

Parameters Parameters


(array) The rewrite rules generated for the current permastruct.

Top ↑

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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