WordPress at a glance
filter is not described

rewrite_rules_array filter-hook . WP 1.5.0

Filters the full set of generated rewrite rules.


add_filter( 'rewrite_rules_array', 'filter_function_name_8654' );
function filter_function_name_8654( $rules ){
	// filter...

	return $rules;
The compiled array of rewrite rules.

Where the hook is called

wp-includes/class-wp-rewrite.php 1406
$this->rules = apply_filters( 'rewrite_rules_array', $this->rules );

Where the hook is used (in WP core)

Does not used.