Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Rewrite API/generate rewrite rules

This page redirects to an external site: https://developer.wordpress.org/reference/classes/wp_rewrite/generate_rewrite_rules/

This page is marked as incomplete. You can help Codex by expanding it.

Description

Generate rewrite rules from a permalink structure.

This is NOT a global function, but a method of the WP_Rewrite() class.

Source File

This function is located in wp-includes/class-wp-rewrite.php

Related

Articles

Hooks

Functions

See also index of Function Reference and index of Template Tags.