Filter hook 'wp_safe_redirect_fallback'

in WP Core File wp-includes/pluggable.php at line 1541

Description

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

Occurrences

Filename Line Number
wp-includes/pluggable.php 1541

Parameters

Type Name Description
string $fallback_url The fallback URL to use by default.
int $status The HTTP response status code to use.

PHP Doc

/**
		 * Filters the redirect fallback URL for when the provided redirect is not safe (local).
		 *
		 * @since 4.3.0
		 *
		 * @param string $fallback_url The fallback URL to use by default.
		 * @param int    $status       The HTTP response status code to use.
		 */