flush_rewrite_rules

SummerySummery

Remove rewrite rules and then recreate rewrite rules.

Syntax

flush_rewrite_rules( bool $hard = true )

ParametersParameters

$hard

(bool) (Optional) Whether to update .htaccess (hard flush) or just update rewrite_rules transient (soft flush). Default is true (hard).

Default value: true

SourceSource

File: wp-includes/rewrite.php


			

ChangelogChangelog

Changelog
Version Description
3.0.0 Introduced.
Scroll to Top