wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_safe_redirect_fallback › WordPress过滤钩子

Since4.3.0
已弃用n/a
› apply_filters( 'wp_safe_redirect_fallback', admin_url()
参数: (2)
  • () fallback_url The fallback URL to use by default.
    Required: Yes
  • () status The HTTP response status code to use.
    Required: Yes
定义在:
文档:

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





源码

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