Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Mobile
    • Hosting
    • Openverse ↗︎
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗︎
  • Community
    • Make WordPress
    • Photo Directory
    • Five for the Future
    • WordCamp ↗︎
    • Meetups ↗︎
    • Job Board ↗︎
  • About
    • About WordPress
    • Showcase
    • Enterprise
    • Gutenberg ↗︎
    • WordPress Swag Store ↗︎
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/rewrite.php

remove_permastruct()

Function: Removes a permalink structure.

Source: wp-includes/rewrite.php:234

Used by 2 functions | Uses 1 function

remove_rewrite_tag()

Function: Removes an existing rewrite tag (like %postname%).

Source: wp-includes/rewrite.php:188

Used by 2 functions | Uses 1 function

wp_resolve_numeric_slug_conflicts()

Function: Resolves numeric slugs that collide with date permalinks.

Source: wp-includes/rewrite.php:381

Used by 2 functions | Uses 2 functions

add_rewrite_rule()

Function: Adds a rewrite rule that transforms a URL structure to a set of query vars.

Source: wp-includes/rewrite.php:140

Used by 3 functions | Uses 1 function

add_rewrite_tag()

Function: Adds a new rewrite tag (like %postname%).

Source: wp-includes/rewrite.php:162

Used by 3 functions | Uses 2 functions

add_permastruct()

Function: Adds a permalink structure.

Source: wp-includes/rewrite.php:206

Used by 2 functions | Uses 1 function

add_feed()

Function: Adds a new feed type like /atom1/.

Source: wp-includes/rewrite.php:251

Used by 0 functions | Uses 2 functions

flush_rewrite_rules()

Function: Removes rewrite rules and then recreate rewrite rules.

Source: wp-includes/rewrite.php:278

Used by 4 functions | Uses 1 function

add_rewrite_endpoint()

Function: Adds an endpoint, like /trackback/.

Source: wp-includes/rewrite.php:335

Used by 0 functions | Uses 1 function

_wp_filter_taxonomy_base()

Function: Filters the URL base for taxonomies.

Source: wp-includes/rewrite.php:351

Used by 0 functions | Uses 0 functions

url_to_postid()

Function: Examines a URL and try to determine the post ID it represents.

Source: wp-includes/rewrite.php:492

Used by 7 functions | Uses 15 functions

url_to_postid

Filter Hook: Filters the URL to derive the post ID from.

Source: wp-includes/rewrite.php:502

Used by 1 function | Uses 0 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our YouTube channel
Code is Poetry