iis7_url_rewrite_rules filter-hookWP 2.8.0

Filters the list of rewrite rules formatted for output to a web.config.

Usage

add_filter( 'iis7_url_rewrite_rules', 'wp_kama_iis7_url_rewrite_rules_filter' );

/**
 * Function for `iis7_url_rewrite_rules` filter-hook.
 * 
 * @param string $rules Rewrite rules formatted for IIS web.config.
 *
 * @return string
 */
function wp_kama_iis7_url_rewrite_rules_filter( $rules ){

	// filter...
	return $rules;
}
$rules(string)
Rewrite rules formatted for IIS web.config.

Changelog

Since 2.8.0 Introduced.

Where the hook is called

WP_Rewrite::iis7_url_rewrite_rules()
iis7_url_rewrite_rules
wp-includes/class-wp-rewrite.php 1640
return apply_filters( 'iis7_url_rewrite_rules', $rules );

Where the hook is used in WordPress

Usage not found.