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

(string) The fallback URL to use by default.

$status

(int) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.