Used By
Used By | Description |
---|---|
wp-includes/canonical.php: redirect_canonical() | Redirects incoming links to the proper URL based on the site url. |
Filters the canonical redirect URL.
Returning false to this filter will cancel the redirect.
(string) The redirect URL.
(string) The requested URL.
Version | Description |
---|---|
2.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/redirect_canonical