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

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

Top ↑

Source

File: wp-includes/class-wp-rewrite.php. View all references

$rules = apply_filters_deprecated( 'tag_rewrite_rules', array( $rules ), '3.1.0', 'post_tag_rewrite_rules' );


Top ↑

Changelog

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

Top ↑

User Contributed Notes

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