apply_filters( 'tribe_rewrite_handled_rewrite_rules', array $our_rules , array<string,string> )
Filters the list of rewrite rules handled by our code to add or remove some as required.
Contents
Parameters
- $our_rules
-
(array) An array of rewrite rules handled by our code, in the shape
[ <rewrite_rule_regex_pattern> => <query_string> ]. E.g.[ '(?:events)/(?:list)/?$' => 'index.php?post_type=tribe_events&eventDisplay=list' ]. -
(<span class="array">array) All the current rewrite rules, before any filtering is applied; these have the same
<pattern => rewrite >format as the previous argument, which is the format used by WordPress rewrite rules.
Source
File: src/Tribe/Rewrite.php
Changelog
| Version | Description |
|---|---|
| 4.9.18 | Introduced. |