wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
noindex is deprecated since version 5.7.0!
Alternative: wp_robots_noindex()
Alternative: wp_robots_noindex()
noindex › WordPress Function
Depuis2.1.0
Dépréciée5.7.0
› noindex ( Pas de paramètres )
Voir: | |
Défini(e) dans: |
|
Codex: |
Displays a `noindex` meta tag if required by the blog configuration.
If a blog is marked as not being public then thenoindex
meta tag will be
output to tell web robots not to index the page content.
Typical usage is as a {@see 'wp_head'} callback:
add_action( 'wp_head', 'noindex' );