Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_safe_redirect_fallback ›

Desde4.3.0
Obsoleton/a
apply_filters( 'wp_safe_redirect_fallback', admin_url()
Parâmetros: (2)
  • (string) $fallback_url The fallback URL to use by default.
    Required: Yes
  • (int) $status The HTTP response status code to use.
    Required: Yes
Definido em:
Codex:

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





Fonte

$location = wp_validate_redirect( $location, apply_filters( 'wp_safe_redirect_fallback', admin_url(), $status ) );