iis7_url_rewrite_rules WordPress Filter Hook

The iis7_url_rewrite_rules hook is used to add custom rewrite rules for the IIS 7 URL Rewrite module. This hook can be used for a variety of purposes, including customizing the URL structure of your site, redirecting traffic to a different server, or blocking specific IP addresses.

apply_filters( 'iis7_url_rewrite_rules', string $rules ) #

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


Parameters

$rules

(string)Rewrite rules formatted for IIS web.config.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.