Core Function
View Source on Trac ↗ wp_robots_sensitive_page()
wp_robots_sensitive_page( array $robots ) Adds `noindex` and `noarchive` to the robots meta tag.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $robots array | Associative array of robots directives. Required |
Return Value
(array)
Filtered robots directives.
Function Information
Since Version
5.7.0
Source File
wp-includes/robots-template.php
Advertisement