W3cubDocs

/WordPress

apply_filters( 'wp_safe_redirect_fallback', string $fallback_url, int $status )

Filters the redirect fallback URL for when the provided redirect is not safe (local).

Parameters

$fallback_url

(string) The fallback URL to use by default.

$status

(int) The HTTP response status code to use.

Source

File: wp-includes/pluggable.php

View on Trac

Changelog

Version Description
4.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_safe_redirect_fallback