wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



{$permastructname}_rewrite_rules › WordPress Filter Hooks

Da3.1.0
Deprecaton/a
apply_filters( "{$permastructname}_rewrite_rules", $rules )
Parametri:
  • (string[]) $rules Array of rewrite rules generated for the current permastruct, keyed by their regex pattern.
    Richiesto:
Definito a:
Codex:

Filters rewrite rules used for individual permastructs.

The dynamic portion of the hook name, $permastructname, refers to the name of the registered permastruct.

Possible hook names include:

  • category_rewrite_rules
  • post_format_rewrite_rules
  • post_tag_rewrite_rules




Sorgenti

$rules = apply_filters( "{$permastructname}_rewrite_rules", $rules );