This hook has been deprecated. Use the mod_rewrite_rules filter instead.

apply_filters( 'rewrite_rules', string $rules )

Filters the list of rewrite rules formatted for output to an .htaccess file.


Parameters

$rules

mod_rewrite Rewrite rules formatted for .htaccess.


Source

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

View on GitHub



Changelog

Changelog
Version Description
WP-1.5.0 Introduced. Use the mod_rewrite_rules filter instead.