Definition:
function wp_no_robots() {}
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’ );
Source code
function wp_no_robots() { echo "<meta name='robots' content='noindex,nofollow' />\n"; }
17735
No comments yet... Be the first to leave a reply!