2020-05-01 / 4979阅 / 悠然
Adds a rewrite rule that transforms a URL structure to a set of query vars.
Any value in the $after parameter that isn’t ‘bottom’ will result in the rule being placed at the top of the rewrite rules.
(string)
(Required)
Regular expression to match request against.
(string|array)
(Required)
The corresponding query vars for this rewrite rule.
(string)
(Optional)
Priority of the new rule. Accepts 'top' or 'bottom'.
Default value: 'bottom'