wp-includes/class-wp-rewrite.php:25Core class used to implement a rewrite component API.
Every hook that fires from inside WP_Rewrite, in the order it appears in the class, grouped by the method that fires it.
$permalink_structurestringpublic$use_trailing_slashesboolpublic$author_basestringpublic$author_structure?stringpublic$date_structure?stringpublic$page_structure?stringpublic$search_basestringpublic$search_structure?stringpublic$comments_basestringpublic$pagination_basestringpublic$comments_pagination_basestringpublic$feed_basestringpublic$comment_feed_structure?stringpublic$feed_structure?stringpublic$frontstringpublic$rootstringpublic$indexstringpublic$matchesstringpublic$rulesstring[]public$extra_rulesstring[]public$extra_rules_topstring[]public$non_wp_rulesstring[]public$extra_permastructsarray[]public$endpointsarray[]public$use_verbose_rulesboolpublic$use_verbose_page_rulesboolpublic$rewritecodestring[]public$rewritereplacestring[]public$queryreplacestring[]public$feedsstring[]public#[AllowDynamicProperties]class WP_Rewrite { /** * Permalink structure for posts. * * @since 1.5.0 * @var string */ public $permalink_structure; /** * Whether to add trailing slashes. * * @since 2.2.0 * @var bool */ public $use_trailing_slashes; /** * Base for the author permalink structure (example.com/$author_base/authorname). * * @since 1.5.0 * @var string */ public $author_base = 'author'; /** * Permalink structure for author archives. * * @since 1.5.0 * @var ?string */ public $author_structure; /** * Permalink structure for date archives. * * @since 1.5.0 * @var ?string */ public $date_structure; /** * Permalink structure for pages. * * @since 1.5.0 * @var ?string */ public $page_structure; /** * Base of the search permalink structure (example.com/$search_base/query). * * @since 1.5.0 * @var string */ public $search_base = 'search'; /** * Permalink structure for searches. * * @since 1.5.0 * @var ?string */ public $search_structure; /** * Comments permalink base. * * @since 1.5.0 * @var string */ public $comments_base = 'comments'; /** * Pagination permalink base. * * @since 3.1.0 * @var string */Introduced in 1.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/class-wp-rewrite.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.