Rewrite (clean friendly URL) (tag)
| add_permastruct() | Adds a new permalink structure for pretty URLs. |
| add_rewrite_endpoint() | Adds a URL endpoint, such as /trackback/. Adds additional rewrite rules for friendly URL - adds the specified endpoint. |
| add_rewrite_rule() | Adds a new URL rewrite rule (pretty permalink) to the WordPress rules structure. |
| add_rewrite_tag() | Adds/updates a query tag (for example: '%pagetype%') that can be used in pretty permalinks. This tag will be replaced with a regular expression, which is then used in a query string like: |
| flush_rewrite_rules() | Updates the permalink rewrite rules (pretty URLs) in the database and cache. Deletes existing rules, generates and writes new ones. |
| remove_permastruct() | Removes a previously added permalink structure (permalinks). |
| remove_rewrite_tag() | Removes an existing query tag, for example |
| save_mod_rewrite_rules() | The function updates the .htaccess file if it is writable. It removes old rules and adds new ones. |
| WP_Rewrite{} | Class of the core that parses the requested URL (SEO-friendly) and creates a "internal" URL understandable for WordPress. This class is used as an API for creating SEO-friendly links. |
| WP_Rewrite::flush_rules() | Updates the permalink (SEO-friendly URL) rewrite rules in the database and cache. |