wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_no_robots is deprecated since version 5.7.0!
Alternative: wp_robots_no_robots()
Alternative: wp_robots_no_robots()
wp_no_robots › WordPress Function
Since3.3.0
已弃用5.7.0
› wp_no_robots ( 没有参数 )
定义在: |
|
文档: | |
Change Log: |
|
Display a `noindex` meta tag.
Outputs anoindex
meta tag that tells web robots not to index the page content.
Typical usage is as a {@see 'wp_head'} callback:
add_action( 'wp_head', 'wp_no_robots' );