RewriteCommand final class
Minn\Cli\RewriteCommand · public/minn/src/Minn/Cli/RewriteCommand.php · 52 lines
`wp rewrite flush|structure`: permalink_structure is the engine's resolver input; there is no .htaccess rewrite file to regenerate.
Public
| method | flush(array $args, array $assocArgs): void# | Flushes rewrite rules. The engine resolves URLs from options, so this is a success no-op the way `cache flush` is. ## OPTIONS [--hard] : Ignored: the engine does not write .htaccess. |
| method | structure(array $args, array $assocArgs): void# | Updates the permalink structure. ## OPTIONS <permastruct> : The new permalink structure, stored as permalink_structure. [--category-base=<base>] : Stored as category_base. [--tag-base=<base>] : Stored as tag_base. [--hard] : Ignored: the engine does not write .htaccess. |
Nothing matches.