tag_rewrite_rules

Advertisement

Deprecated Deprecated

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

Summery Summery

Filters rewrite rules used specifically for Tags.

Syntax Syntax

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

Parameters Parameters

$rules

Array of rewrite rules generated for tags, keyed by their regex pattern.

Source Source

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

Advertisement

Changelog Changelog

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

Advertisement

Leave a Reply