wp_no_robots
wp_no_robots ( No parameters )
- Introduced in WordPress: 3.3.0
- Deprecated in WordPress: 5.7.0
Description
Display a `noindex` meta tag.Outputs a `noindex` 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' );