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



blog_redirect_404 › WordPress过滤钩子

Since3.0.0
已弃用n/a
apply_filters( 'blog_redirect_404', NOBLOGREDIRECT )
参数:
  • (string) $no_blog_redirect The redirect URL defined in NOBLOGREDIRECT.
    Required: Yes
定义在:
文档:

Filters the redirect URL for 404s on the main site.

The filter is only evaluated if the NOBLOGREDIRECT constant is defined.





源码

$destination = apply_filters( 'blog_redirect_404', NOBLOGREDIRECT );