wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_safe_redirect_fallback › WordPress Filter Hooks

Since4.3.0
Deprecatedn/a
apply_filters( 'wp_safe_redirect_fallback', admin_url()
Parameters: (2)
  • (string) $fallback_url The fallback URL to use by default.
    Required: Yes
  • (int) $status The HTTP response status code to use.
    Required: Yes
Defined at:
Codex:

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





Source

$fallback_url = apply_filters( 'wp_safe_redirect_fallback', admin_url(), $status );