WordPress at a glance
function is not described

wp_no_robots() WP 3.3.0

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 wp_head callback. add_action( 'wp_head', 'wp_no_robots' );

No Hooks.

Return

Nothing (null).

Usage

wp_no_robots();

Code of wp no robots: wp-includes/general-template.php VER 5.0.3

<?php
function wp_no_robots() {
	echo "<meta name='robots' content='noindex,follow' />\n";
}