Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/canonical.php | apply_filters | 791 | /** * Filters the canonical redirect URL. * * Returning false to this filter will cancel the redirect. * * @since 2.3.0 * * @param string $redirect_url The redirect URL. * @param string $requested_url The requested URL. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $redirect_url | The redirect URL. |
string | $requested_url | The requested URL. |