apply_filters( 'redirect_canonical', string $redirect_url , string $requested_url )
Filters the canonical redirect URL.
Description Description
Returning false to this filter will cancel the redirect.
Parameters Parameters
- $redirect_url
-
(string) The redirect URL.
- $requested_url
-
(string) The requested URL.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |