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



got_rewrite › WordPress过滤钩子

Since2.5.0
已弃用n/a
› apply_filters( 'got_rewrite', $got_rewrite )
参数:
  • () got_rewrite Whether Apache and mod_rewrite are present.
    Required: Yes
查看:
  • got_url_rewrite()
定义在:
文档:

Filters whether Apache and mod_rewrite are present.

This filter was previously used to force URL rewriting for other servers, like nginx. Use the {@see 'got_url_rewrite'} filter in got_url_rewrite() instead.




源码

return apply_filters( 'got_rewrite', $got_rewrite );