flush_rewrite_rules


flush_rewrite_rules ( $hard = true )

Parameters:
  • (bool) $hard Whether to update .htaccess (hard flush) or just update rewrite_rules transient (soft flush). Default is true (hard).
Defined at:

Description

Remove rewrite rules and then recreate rewrite rules.

Related Functions

add_rewrite_rule, save_mod_rewrite_rules, iis7_add_rewrite_rule, iis7_rewrite_rule_exists, iis7_delete_rewrite_rule

Top Google Results

User discussions

wpseek mobile