Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/canonical.php | apply_filters | 902 | /** * Filters whether to attempt to guess a redirect URL for a 404 request. * * Returning a false value from the filter will disable the URL guessing * and return early without performing a redirect. * * @since 5.5.0 * * @param bool $do_redirect_guess Whether to attempt to guess a redirect URL * for a 404 request. Default true. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $do_redirect_guess | Whether to attempt to guess a redirect URL |