WP_Rewrite::iis7_url_rewrite_rules

SummerySummery

Retrieves IIS7 URL Rewrite formatted rewrite rules to write to web.config file.

Syntax

WP_Rewrite::iis7_url_rewrite_rules( bool $add_parent_tags = false )

DescriptionDescription

Does not actually write to the web.config file, but creates the rules for the process that will.

ParametersParameters

$add_parent_tags

(bool) (Optional) Whether to add parent tags to the rewrite rule sets.

Default value: false

ReturnReturn

(string) IIS7 URL rewrite rule sets.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
2.8.0 Introduced.
Scroll to Top