A WordPress-centric search engine for devs and theme authors



flush_rewrite_rules_hard ›

Since3.7.0
Deprecatedn/a
apply_filters( 'flush_rewrite_rules_hard', true )
Parameters:
  • (bool) $hard Whether to flush rewrite rules "hard". Default true.
    Required: Yes
Defined at:
Codex:

Filters whether a "hard" rewrite rule flush should be performed when requested.

A "hard" flush updates .htaccess (Apache) or web.config (IIS).





Source

if ( ! $hard || ! apply_filters( 'flush_rewrite_rules_hard', true ) ) {