Un motore di ricerca WordPress per sviluppatori e autori di temi



{$permastructname}_rewrite_rules ›

Da3.1.0
Deprecaton/a
apply_filters( "{$permastructname}_rewrite_rules", $rules )
Parametri:
  • (array) $rules The rewrite rules generated for the current permastruct.
    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, e.g. 'post_tag' (tags), 'category' (categories), etc.





Sorgenti

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