wpseek.com
A WordPress-centric search engine for devs and theme authors
random_rewrite_rules › WordPress Filter Hooks
Since7.2.0
Deprecatedn/a
› apply_filters( 'random_rewrite_rules', $random_rewrite )
| Parameters: |
|
| Defined at: |
|
| 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/`.Related Functions: add_rewrite_rule, save_mod_rewrite_rules, iis7_add_rewrite_rule, flush_rewrite_rules, iis7_delete_rewrite_rule, iis7_rewrite_rule_exists
Related Hooks: root_rewrite_rules, mod_rewrite_rules, tag_rewrite_rules, author_rewrite_rules, date_rewrite_rules