wp_admin_canonical_url
wp_admin_canonical_url ( No parameters )
- Introduced in WordPress: 4.2.0
- Deprecated in WordPress: —
Description
Removes single-use URL parameters and create canonical link based on new URL.Removes specific query string parameters from a URL, create the canonical link,
put it in the admin header, and change the current URL to match.