It’s used in admin context to display URL previews. When you change the slug of a post, the code that enables that mechanism is getting the format of the URL via that function.
Related Posts:
- Change media item permalink
- Why is “/page/2/” not working?
- Is the permalink structure /%post_id%/%postname% faster or slower than just /%postname%?
- How can I force WordPress to redirect to canonical permalinks?
- Why would Numeric permalinks work, but %postname% won’t?
- Passing variables through permalink structure
- Remove subfolders from URL
- Why does WP not use relative links when linking pages?
- htaccess or redirect to cloak portion of a link?
- What is the action or filter for changing permalink in Edit Post/Page?
- WordPress Permalinks %postname% for RSS2 Feed URL
- wordpress permalinks tweeks
- generate custom permalink based on a custom field
- How to get wordpress link to fully evaluate when coming from facebook
- Is using %postname% for permalinks really that bad for performance?
- Getting links to work the same on development and production
- Change author slug and functionality
- How to tranform Headlines into linkable permalinks?
- Changing search URL to something other than “search”
- Setting up two separate blogs while using WordPress as a CMS
- Changes to .htaccess not updating the file (old rules still take effect)
- Custom theme navigation
- get permalink and append it
- Permalinks not working with Vagrant
- How to redirect to correct pages after permalink structure change
- Moving local wordpress page to a real server subdomain broke my permalinks?
- Only plain permalinks working
- next_posts_link URL does not include name of custom post type
- Media Gallery Images – safe to change permalink?
- Possible to remove taxonomy from permalink if uncategorized?
- WordPress disallows changing page to a specific permalink
- Custom permalink leads to index page
- How to eliminate permalink prefix in WordPress Multisite
- wp not making CPT permalink / slugs unique
- WordPress 4.4 old permalink redirect
- 404 when going to /blog
- WordPress keeps giving me the wrong permalink
- Permalinks 404 error with HTTPS host
- Mirror content based on URL slug
- Empty permalinks settings in .htaccess
- Rewriting single post url; add_rewrite_rule problem?
- WordPress permalink prefix
- Hierarchy of Subcategories on Permalink (bug?)
- Strange Anchor Tag Behavior (in-page links work, external pages do not) [closed]
- curl problem or permalinks
- How to test custom rewrite rules /permalinks?
- Changing WordPress routing to load the same page for different URLs
- Custom post type clean shortlink
- Permalinks on Windows IIS not working and web.config breaks site – does wordpress not support windows server now, if so how?
- Exclude single page from permalink rule
- the_content(); erroneously closing off previous opening before it
- Bulk append URL (add word to slug)
- Changing the entire permalink
- How are WordPress Page URLs affected by permalink settings?
- Home page Pagination – Other pages do not redirect to home page template
- Image URL and size
- defining child page permalink
- WordPress switch servers
- Browsing to permalink prefix results in 404
- Shortcodes not working
- Tag pages do not show
- WordPress Posts forced to load as Uncategorized
- replicate url permalink after migrating to wordpress
- I need to change the attribute of the isPermaLink guid in the WordPress RSS feed – from false to true
- Shortlinks work only for logged in users
- Modify post slug before saving
- Changing permalink for blog posts, current structure www.website.com/blog-post, change to, www.website.com/blog/blog-post
- Does wordpress take care of slug collisions?
- Permalink refresh, the good, the bad, etc. What is best?
- WordPress permalink not working on subdomain
- Fatal Error when trying to load Permalinks page on WP admin [closed]
- Cannot publish posts or pages when I change permalink structure
- Add /blog prefix for all WordPress front end url
- Remove Permalink of certain posts
- Bulk update set of URLs via SQL
- How to find a page in admin based on it’s permalink
- rebuilding/ rewriting a url to make it SEO friendly
- Very strange behaviour related to htaccess and custom posts and custom posts substrings (BUG?)
- Permalink change during save of post
- Changed Permalinks settings, how do I redirect posts on Nginx?
- Choose permalink on a per-post basis?
- Change all pages permalinks instead of hierarchical to have id of the page
- where is the media permalink info stored in database?
- How to put articles under a /blog directory?
- Category-dependent custom permalink
- Pretty permalinks (again)
- How can I get WordPress CPT archives and page templates to work with prettified permalink settings?
- Passing user defined variable into get_permalink
- WordPress Archives Cause Looping
- Is there a way to add slug to home_url on this function?
- Custom permalink structure for custom post type results in 404
- Customized author slugs not working with get_author_posts_url method
- Change permalink when page category selected in admin
- Custom rewrites for pages and categories
- region selection
- Redirecting From An Old Permalink Structure
- Why doesn’t my page know it’s a page (won’t return true for is_page())?
- How to change my URL on intranet
- Include language variable in url
- Permalinks get lost periodically