Rewrite
WordPress Rewrite API Overview
The WordPress Rewrite API transforms human-readable URLs (permalinks) into query parameters that WordPress can process. It's the foundation of "pretty...
Updated March 13, 2026
WP_Rewrite Class
Core class implementing the WordPress rewrite component API. Handles permalink structures, rewrite rules, and URL pattern matching. class WP_Rewrite {...
Updated March 13, 2026
WordPress Rewrite Functions
Functions for managing URL rewrite rules, tags, endpoints, and permalink structures. add_rewrite_rule() Adds a rewrite rule that transforms a URL...
Updated March 13, 2026
WordPress Rewrite Hooks
Filters and actions for customizing URL rewriting and permalink generation. Actions generate_rewrite_rules Fires after rewrite rules are generated. do_action_ref_array( 'generate_rewrite_rules',...
Updated March 13, 2026