Warning: This hook has been deprecated. Use ‘post_tag_rewrite_rules’ instead.

apply_filters_deprecated( 'tag_rewrite_rules', string[] $rules )

Filters rewrite rules used specifically for Tags.


Parameters Parameters

$rules

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


Top ↑

Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 Use 'post_tag_rewrite_rules' instead.
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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