wp_safe_redirect_fallback

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$fallback_url

The fallback URL to use by default.

$status

The HTTP response status code to use.

Source Source

File: wp-includes/pluggable.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply