Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

add_rewrite_rule()

3 tags 1 category

add_rewrite_rule() — 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.

Inputs: $regex (string): Regular expression to match request against. $query (string|array): The corresponding query vars for this rewrite rule. $after (string): Optional. Priority of the new rule. Accepts ‘top’ or ‘bottom’. Default ‘bottom’.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…