WordPress at a glance
filter is not described

root_rewrite_rules filter-hook . WP 1.5.0

Filters rewrite rules used for root-level archives.

Likely root-level archives would include pagination rules for the homepage as well as site-wide post feeds (e.g. /feed/, and /feed/atom/).


add_filter( 'root_rewrite_rules', 'filter_function_name_8688' );
function filter_function_name_8688( $root_rewrite ){
	// filter...

	return $root_rewrite;
The root-level rewrite rules.

Where the hook is called

wp-includes/class-wp-rewrite.php 1321
$root_rewrite = apply_filters( 'root_rewrite_rules', $root_rewrite );

Where the hook is used (in WP core)

Использование не найдено.