W3cubDocs

/WordPress

apply_filters( 'mod_rewrite_rules', string $rules )

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

Parameters

$rules

(string) mod_rewrite Rewrite rules formatted for .htaccess.

Source

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

View on Trac

Changelog

Version Description
1.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/mod_rewrite_rules