wpseek.com
A WordPress-centric search engine for devs and theme authors



rewrite_rules_array › WordPress Filter Hooks

Since1.5.0
Deprecatedn/a
apply_filters( 'rewrite_rules_array', $this->rules )
Parameters:
  • (string[]) $rules The compiled array of rewrite rules, keyed by their regex pattern.
    Required: Yes
Defined at:
Codex:

Filters the full set of generated rewrite rules.





Source

$this->rules = apply_filters( 'rewrite_rules_array', $this->rules );