Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_safe_redirect_fallback ›

Da4.3.0
Deprecaton/a
apply_filters( 'wp_safe_redirect_fallback', admin_url()
Parametri: (2)
  • (string) $fallback_url The fallback URL to use by default.
    Richiesto:
  • (int) $status The HTTP response status code to use.
    Richiesto:
Definito a:
Codex:

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





Sorgenti

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