Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
rewrite_rules

WordPress version history for rewrite_rules

This database has information for all major versions from WP 1.2.1 through 6.2.

Version File Line Type
1.5.2 wp-includes/classes.php 1253 View in context filter
2.0 wp-includes/classes.php 1382 View in context filter
2.0.11 wp-includes/classes.php 1432 View in context filter
2.1 wp-includes/rewrite.php 826 View in context filter
2.2 wp-includes/rewrite.php 829 View in context filter
2.3 wp-includes/rewrite.php 869 View in context filter
2.5 wp-includes/rewrite.php 929 View in context filter
2.6 wp-includes/rewrite.php 942 View in context filter
2.7 wp-includes/rewrite.php 1691 View in context filter
2.8 wp-includes/rewrite.php 1702 View in context filter
2.9 wp-includes/rewrite.php 1704 View in context filter
3.0 wp-includes/rewrite.php 1747 View in context filter
3.1 wp-includes/rewrite.php 1675 View in context filter
3.2 wp-includes/rewrite.php 1675 View in context filter
3.3 wp-includes/rewrite.php 1658 View in context filter
3.4 wp-includes/rewrite.php 1702 View in context filter
3.5 wp-includes/rewrite.php 1705 View in context filter
3.6 wp-includes/rewrite.php 1705 View in context filter
3.7 wp-includes/rewrite.php 1724 View in context filter
3.8 wp-includes/rewrite.php 1724 View in context filter
3.9 wp-includes/rewrite.php 1854 View in context filter
4.0 wp-includes/rewrite.php 1854 View in context filter
4.1 wp-includes/rewrite.php 1852 View in context filter
4.2 wp-includes/rewrite.php 1856 View in context filter
4.3 wp-includes/rewrite.php 1980 View in context filter
4.4 wp-includes/class-wp-rewrite.php 1543 View in context filter
4.5 wp-includes/class-wp-rewrite.php 1569 View in context filter
4.6 wp-includes/class-wp-rewrite.php 1569 View in context filter
4.7 wp-includes/class-wp-rewrite.php 1573 View in context filter
4.8 wp-includes/class-wp-rewrite.php 1573 View in context filter
4.9 wp-includes/class-wp-rewrite.php 1522 View in context filter
5.0 wp-includes/class-wp-rewrite.php 1522 View in context filter
5.1 wp-includes/class-wp-rewrite.php 1563 View in context filter
5.2 wp-includes/class-wp-rewrite.php 1563 View in context filter
5.3 wp-includes/class-wp-rewrite.php 1563 View in context filter

Important warning!

This hook does not occur in the most recent version of WordPress (6.2). 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.

Related Hooks

We find related hooks using word stems. rewrite_rules has 2 significant word stem(s): rewrite, rules. Note that some of the hooks below may not appear in all versions of WP.