Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: iis7_url_rewrite_rules

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1743           $rules .= $extra_indent."</rule>";
1744           
1745           if ( $add_parent_tags ) {
1746                $rules .= $end_of_line.$indent.$indent.$indent."</rules>".$end_of_line;
1747                $rules .= $indent.$indent."</rewrite>".$end_of_line;
1748                $rules .= $indent."</system.webServer>".$end_of_line;
1749                $rules .= "</configuration>";
1750           }
1751
1752           $rules = apply_filters('iis7_url_rewrite_rules', $rules);
1753
1754           return $rules;
1755      }
1756
1757      /**
1758       * Add a straight rewrite rule.
1759       *
1760       * Any value in the $after parameter that isn't 'bottom' will be placed at
1761       * the top of the rules.