Applied to the category-related rewrite rules after they are generated.
This database has information for all major versions from WP 1.2.1 through 5.7.
|1.5.2||wp-includes/classes.php||1190||View in context||filter|
|2.0||wp-includes/classes.php||1310||View in context||filter|
|2.0.11||wp-includes/classes.php||1354||View in context||filter|
|2.1||wp-includes/rewrite.php||734||View in context||filter|
|2.2||wp-includes/rewrite.php||737||View in context||filter|
|2.3||wp-includes/rewrite.php||773||View in context||filter|
|2.5||wp-includes/rewrite.php||826||View in context||filter|
|2.6||wp-includes/rewrite.php||839||View in context||filter|
|2.7||wp-includes/rewrite.php||1554||View in context||filter|
|2.8||wp-includes/rewrite.php||1565||View in context||filter|
|2.9||wp-includes/rewrite.php||1567||View in context||filter|
|3.0||wp-includes/rewrite.php||1609||View in context||filter|
This hook does not occur in the most recent version of WordPress (5.7). Do not use it. It is deprecated. You should look at the list of "related hooks" below to see if you can figure out what replaced it.
We find related hooks using word stems. category_rewrite_rules has 3 significant word stem(s):
rules. Note that some of the hooks below may not appear in all versions of WP.