wp rewrite list

Gets a list of the current rewrite rules

Options

NameDescription
--match <url>Show rewrite rules matching a particular URL
--source <source>Show rewrite rules from a particular source
--fields <fields>Limit the output to specific fields. Defaults to match,query,source
--format <format>Render output in a particular format