noindex()

最后更新于:2021-11-27 17:52:24

noindex()

Displays a noindex meta tag if required by the blog configuration.

源文件

文件: gc-includes/deprecated.php

function noindex() {
	_deprecated_function( __FUNCTION__, '5.7.0', 'gc_robots_noindex()' );

	// If the blog is not public, tell robots to go away.
	if ( '0' == get_option( 'blog_public' ) ) {
		gc_no_robots();
	}
}