apply_filters( ‘wp_safe_redirect_fallback’, string $fallback_url, int $status )

In this article

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

Parameters

$fallback_urlstring
The fallback URL to use by default.
$statusint
The HTTP response status code to use.

Source

$fallback_url = apply_filters( 'wp_safe_redirect_fallback', admin_url(), $status );

Changelog

VersionDescription
4.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.