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



robots_txt › WordPress过滤钩子

Since3.0.0
已弃用n/a
› apply_filters( 'robots_txt', $output, $public )
参数: (2)
  • () output The robots.txt output.
    Required: Yes
  • () public Whether the site is considered "public".
    Required: Yes
定义在:
文档:

Filters the robots.txt output.





源码

echo apply_filters( 'robots_txt', $output, $public );