WP_Rewrite::mod_rewrite_rules

SummerySummery

Retrieves mod_rewrite-formatted rewrite rules to write to .htaccess.

Syntax

WP_Rewrite::mod_rewrite_rules()

DescriptionDescription

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

Will add the non_wp_rules property rules to the .htaccess file before the WordPress rewrite rules one.

ReturnReturn

(string)

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
1.5.0 Introduced.
Scroll to Top