apply_filters( 'flush_rewrite_rules_hard', bool $hard )
Filters whether a “hard” rewrite rule flush should be performed when requested.
Description
A "hard" flush updates .htaccess (Apache) or web.config (IIS).
Parameters
- $hard
-
Whether to flush rewrite rules "hard". Default true.
Source
Changelog
Version | Description |
---|---|
WP-3.7.0 | Introduced. |