wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



date_rewrite_rules › WordPress Filter Hooks

Seit1.5.0
Veraltetn/v
apply_filters( 'date_rewrite_rules', $date_rewrite )
Parameter:
  • (string[]) $date_rewrite Array of rewrite rules for date archives, keyed by their regex pattern.
    Erforderlich: Ja
Definiert in:
Codex:

Filters rewrite rules used for date archives.

Likely date archives would include /yyyy/, /yyyy/mm/, and /yyyy/mm/dd/.





Quellcode

$date_rewrite = apply_filters( 'date_rewrite_rules', $date_rewrite );