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

Filters rewrite rules used for individual permastructs.


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

$rules

The rewrite rules generated for the current permastruct.


Source

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

View on GitHub



Changelog

Changelog
Version Description
WP-3.1.0 Introduced.