Filters rewrite rules used specifically for Tags.
Parameters
$rules
string[]- Array of rewrite rules generated for tags, keyed by their regex pattern.
Source
$rules = apply_filters_deprecated( 'tag_rewrite_rules', array( $rules ), '3.1.0', 'post_tag_rewrite_rules' );
Changelog
Version | Description |
---|---|
3.1.0 | Use 'post_tag_rewrite_rules' instead. |
2.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.