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



random_rewrite_rules › WordPress Filter Hooks

Da7.2.0
Deprecaton/a
› apply_filters( 'random_rewrite_rules', $random_rewrite )
Parametri:
  • () random_rewrite Array of rewrite rules for random content redirects, keyed by their regex pattern.
    Richiesto: Sì
Definito a:
Codex:

Filters rewrite rules used for random content redirects.

Likely random content rules would include `/random/`, as well as term, author and post type archives prefixed with the random base, for example `/random/category/news/`.




Sorgenti

$random_rewrite = apply_filters( 'random_rewrite_rules', $random_rewrite );