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' );
Signature, return type and hooks compared across 5 parsed releases.
5.7.0
Deprecated. Use wp_robots_no_robots() instead on 'wp_robots' filter.from the docblock
5.3.0
Echo noindex,nofollow if search engine visibility is discouraged.from the docblock
3.3.0
Introduced.from the docblock
About this page
Parsed data
Generated from the wordpress-develop 6.9.7 tag, from src/wp-includes/deprecated.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.